[Issue 11765] std.regex: Negation of character class is not applied to base class first

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Dec 19 10:27:36 PST 2013


https://d.puremagic.com/issues/show_bug.cgi?id=11765



--- Comment #4 from Dmitry Olshansky <dmitry.olsh at gmail.com> 2013-12-19 10:27:35 PST ---
(In reply to comment #1)
> (In reply to comment #0)
> > Using .net syntax:
> > [^01-[2]]
> > 0123456789
> > 
> > It matches "3".
> 
> Nevermind the leading zero, I meant to use this simpler example:
> 
> [^1-[2]]
> 123456789
> 
> It matches "3".

Actually because of single dash it works as if all is fine...
This one is good case:
[^1--[2]]

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list