[Issue 5736] New: std.regex matches digits with when \w is used
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Mar 14 12:24:18 PDT 2011
http://d.puremagic.com/issues/show_bug.cgi?id=5736
Summary: std.regex matches digits with when \w is used
Product: D
Version: D2
Platform: Other
OS/Version: Mac OS X
Status: NEW
Severity: normal
Priority: P2
Component: Phobos
AssignedTo: nobody at puremagic.com
ReportedBy: doob at me.com
--- Comment #0 from Jacob Carlborg <doob at me.com> 2011-03-14 12:21:10 PDT ---
The following assert fails due to \w matches digits.
import std.regex;
void main ()
{
assert("1".match(regex(`\w`)).empty);
}
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list