www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 5652] New: Add \p and \P unicode properties to std.regex

reply d-bugmail puremagic.com writes:
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: nobody puremagic.com
        ReportedBy: jlquinn optonline.net



---
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: -------
Feb 25 2011
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=5652


Dmitry Olshansky <dmitry.olsh gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |dmitry.olsh gmail.com
         Resolution|                            |DUPLICATE



08:33:25 PDT ---
\p and \P properites are part of UTS 18 standard.
Superseded by the request for UTS 18 level 1 support: 
http://d.puremagic.com/issues/show_bug.cgi?id=6261

*** This issue has been marked as a duplicate of issue 6261 ***

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jul 30 2011
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=5652


Jesse Phillips <Jesse.K.Phillips+D gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
                 CC|                            |Jesse.K.Phillips+D gmail.co
                   |                            |m
             Blocks|                            |6403
         Resolution|DUPLICATE                   |



09:29:47 PDT ---
Making this a blocker to 6403. Not sure if it matters much, but 6261 definitely
isn't what you meant.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jul 30 2011
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=5652




10:51:12 PDT ---
Right, and it's definitely better this way.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jul 30 2011
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=5652


Dmitry Olshansky <dmitry.olsh gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |FIXED



11:53:59 PST ---
Suppported since 2.057.

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