[pcre-dev] [Bug 652] New: Intersection and substraction in c…

Top Page
Delete this message
Author: Felipe Pena
Date:  
To: pcre-dev
Subject: [pcre-dev] [Bug 652] New: Intersection and substraction in character classes
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=652
           Summary: Intersection and substraction in character classes
           Product: PCRE
           Version: N/A
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: wishlist
          Priority: medium
         Component: Code
        AssignedTo: ph10@???
        ReportedBy: felipensp@???
                CC: pcre-dev@???



Hello,
Seeing a tutorial about java.util.regex (I isn't Java programmer), find a
feature interesting for character classes. See below:


[a-z&&[def]]    d, e, or f (intersection) 
[a-z&&[^bc]]    a through z, except for b and c: [ad-z] (subtraction) 
[a-z&&[^m-p]]   a through z, and not m through p: [a-lq-z] (subtraction)



How about that?

http://java.sun.com/docs/books/tutorial/essential/regex/char_classes.html


Regards,
Felipe Pena.


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email