[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:31:24 PST 2013


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



--- Comment #5 from Dmitry Olshansky <dmitry.olsh at gmail.com> 2013-12-19 10:31:23 PST ---
(In reply to comment #3)
> Is the following sample caused by the same issue?
> 
> writeln("abcdefghijklmnopqrstuvwxyz".match("[a-z&&[^aeiuo]]"));
> 
> It writes [["a"]], I was expecting the first non-vowel [["b"]]. It returns "b"
> in Ruby, as for .NET I haven't found the syntax it uses.

>From the look of it - an unrelated bug in set intersection.
Better split it off as a new issue.

-- 
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