Issue ID: 18499
           Summary: std.regex cannot handle (?i:)
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P1
         Component: phobos

Compiling and running the following code:

import std.regex;

void main()

Gives the following runtime exception:

phobos/std/regex/internal/parser.d(1018):  's', 'x', 'i', 'm' or '-' expected
after '(?'
Pattern with error: `(?i:` <--HERE-- `)`
Pattern with error: `(?i:` <--HERE-- `)`

Is this a bug or does std.regex not support this syntax?


Reply via email to