Thread overview | |||||
---|---|---|---|---|---|
|
May 29, 2011 [Issue 6076] New: std.regex: "c.*|d" matches "mm" | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=6076 Summary: std.regex: "c.*|d" matches "mm" Product: D Version: D2 Platform: Other OS/Version: Mac OS X Status: NEW Keywords: wrong-code Severity: regression Priority: P2 Component: Phobos AssignedTo: nobody@puremagic.com ReportedBy: kennytm@gmail.com --- Comment #0 from kennytm@gmail.com 2011-05-29 10:43:18 PDT --- Test case: ------------------------------ import std.regex; void main() { auto re = regex("c.*|d"); auto m = match("mm", re); assert(m.empty); // asserts } ------------------------------ The regex does not match as expected on 2.042, but it matches an empty string on 2.053. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
May 29, 2011 [Issue 6076] std.regex: "c.*|d" matches "mm" | ||||
---|---|---|---|---|
| ||||
Posted in reply to kennytm@gmail.com | http://d.puremagic.com/issues/show_bug.cgi?id=6076 --- Comment #1 from kennytm@gmail.com 2011-05-29 11:12:15 PDT --- The bug was introduced in commit 535875fa56a26740a05f (https://github.com/D-Programming-Language/phobos/commit/535875fa56a26740a05f). -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
June 06, 2011 [Issue 6076] std.regex: "c.*|d" matches "mm" | ||||
---|---|---|---|---|
| ||||
Posted in reply to kennytm@gmail.com | http://d.puremagic.com/issues/show_bug.cgi?id=6076 Dmitry Olshansky <dmitry.olsh@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |dmitry.olsh@gmail.com Resolution| |FIXED --- Comment #2 from Dmitry Olshansky <dmitry.olsh@gmail.com> 2011-06-06 08:35:41 PDT --- Fixed: https://github.com/D-Programming-Language/phobos/commit/9afb00e36b625322d7f1d8ec0fbd876c2b5c03fc -- 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