[Issue 5673] New: Add lookahead and forgetful matching support std.regex

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Mar 1 07:48:54 PST 2011


http://d.puremagic.com/issues/show_bug.cgi?id=5673

           Summary: Add lookahead and forgetful matching support std.regex
           Product: D
           Version: D2
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Severity: major
          Priority: P2
         Component: Phobos
        AssignedTo: nobody at puremagic.com
        ReportedBy: dmitry.olsh at gmail.com


--- Comment #0 from Dmitry Olshansky <dmitry.olsh at gmail.com> 2011-03-01 07:46:03 PST ---
Like I said in the http://d.puremagic.com/issues/show_bug.cgi?id=5169
std.regex lacks some useful regex patterns that considered as required in
ECMA262 standard.

Most needed, it seems, are lookahead and forgetful matching (?:...). Required
by email validation http://www.dominicsayers.com/isemail/

For a start, see attached patch with lookahead and forgetful matching in
std.regex implemented.

-- 
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