www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 12747] New: std.regex bug in the parser allows reference to

https://issues.dlang.org/show_bug.cgi?id=12747

          Issue ID: 12747
           Summary: std.regex bug in the parser allows reference to open
                    groups.
           Product: D
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Phobos
          Assignee: nobody puremagic.com
          Reporter: dmitry.olsh gmail.com

Should cause an exception:

auto re = regex(`^x(\1)`);

--
May 15 2014