Bug 11784 – std.regex: bug in set intersection

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
phobos
Product
D
Version
D2
Platform
All
OS
All
Creation time
2013-12-20T00:51:00Z
Last change time
2014-04-23T18:47:20Z
Keywords
pull
Assigned to
nobody
Creator
andrej.mitrovich

Comments

Comment #0 by andrej.mitrovich — 2013-12-20T00:51:04Z
Split off from Issue 11765: 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.
Comment #1 by dmitry.olsh — 2014-03-12T15:40:59Z
Comment #2 by github-bugzilla — 2014-04-23T18:31:43Z
Commit pushed to master at https://github.com/D-Programming-Language/phobos https://github.com/D-Programming-Language/phobos/commit/1fa74e5d895b94005347ae959772613ac9fe90b2 fix issue 11784 Actually add a test case, the issue was fixed as part of the set of commits that precede this one.
Comment #3 by andrej.mitrovich — 2014-04-23T18:47:20Z
Cool, thanks!