April 01, 2011 [Issue 5805] New: std.regex match captures property horribly broken | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=5805 Summary: std.regex match captures property horribly broken Product: D Version: D2 Platform: x86 OS/Version: All Status: NEW Severity: critical Priority: P2 Component: Phobos AssignedTo: nobody@puremagic.com ReportedBy: dmitry.olsh@gmail.com --- Comment #0 from Dmitry Olshansky <dmitry.olsh@gmail.com> 2011-04-01 05:57:13 PDT --- void main(){ auto r = regex(`(a)(b)?(c*)`); writeln(r.captures); auto m = "acc".match(r); writeln(m.hit); foreach(c;m.captures) writeln(c); } Output: 3 acc acc a core.exception.RangeError@std.regex(1719): Range violation -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
May 27, 2011 [Issue 5805] std.regex match captures property horribly broken | ||||
---|---|---|---|---|
| ||||
Posted in reply to Dmitry Olshansky | http://d.puremagic.com/issues/show_bug.cgi?id=5805 Dmitry Olshansky <dmitry.olsh@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE --- Comment #1 from Dmitry Olshansky <dmitry.olsh@gmail.com> 2011-05-27 15:13:00 PDT --- *** This issue has been marked as a duplicate of issue 5511 *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation