Thread overview
[Issue 5652] New: Add \p and \P unicode properties to std.regex
Feb 25, 2011
Jerry Quinn
Jul 30, 2011
Dmitry Olshansky
Jul 30, 2011
Jesse Phillips
Jul 30, 2011
Dmitry Olshansky
Feb 24, 2012
Dmitry Olshansky
February 25, 2011
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


--- Comment #0 from Jerry Quinn <jlquinn@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: -------
July 30, 2011
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


--- Comment #1 from Dmitry Olshansky <dmitry.olsh@gmail.com> 2011-07-30 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: -------
July 30, 2011
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                   |


--- Comment #2 from Jesse Phillips <Jesse.K.Phillips+D@gmail.com> 2011-07-30 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: -------
July 30, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=5652



--- Comment #3 from Dmitry Olshansky <dmitry.olsh@gmail.com> 2011-07-30 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: -------
February 24, 2012
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


--- Comment #4 from Dmitry Olshansky <dmitry.olsh@gmail.com> 2012-02-24 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: -------