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

           Summary: Add \p and \P unicode properties to std.regex
           Product: D
           Version: D2
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Phobos
        AssignedTo: nob...@puremagic.com
        ReportedBy: jlqu...@optonline.net


--- Comment #0 from Jerry Quinn <jlqu...@optonline.net> 2011-02-25 08:25:16 PST 
---
It's nice to be able to point to a standard for regexes, but Unicode properties
are an invaluable part of writing regexes when dealing with non-ascii text.

They are supported by Java, ICU, Perl, and PCRE.  If need be, they could be
enabled by a flag.

I'd definitely recommend providing \p{} and \P{} constructs covering the full
unicode standard, but would also highly suggest allowing \pX for single-char
properties too.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to