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: nob...@puremagic.com
        ReportedBy: d...@me.com


--- Comment #0 from Jacob Carlborg <d...@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: -------

Reply via email to