www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 17673] New: regex(["\\\\\\\\|\\\\\"", "\"|$"]) - wrong

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

          Issue ID: 17673
           Summary: regex(["\\\\\\\\|\\\\\"", "\"|$"]) - wrong
                    whichPattern
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: critical
          Priority: P1
         Component: phobos
          Assignee: nobody puremagic.com
          Reporter: undefer gmail.com

regex returns whichPattern wrongly
The code demonstrating the problem:
https://dpaste.dzfl.pl/d7f94068608e

--
Jul 20