[pcre-dev] [Bug 1680] New: Creating the intersection of two …

Αρχική Σελίδα
Delete this message
Συντάκτης: admin
Ημερομηνία:  
Προς: pcre-dev
Αντικείμενο: [pcre-dev] [Bug 1680] New: Creating the intersection of two regular expressions
https://bugs.exim.org/show_bug.cgi?id=1680

            Bug ID: 1680
           Summary: Creating the intersection of two regular expressions
           Product: PCRE
           Version: 10.10 (PCRE2)
          Hardware: All
                OS: All
            Status: NEW
          Severity: wishlist
          Priority: medium
         Component: Code
          Assignee: ph10@???
          Reporter: david.gausmann@???
                CC: pcre-dev@???


Hello Philip,

for one project I would require the possibility to calculate the intersection
of two regular expressions.
The intersection should be a regular expression which matches only those items
which whould be matches by both source regular expressions.

For Example:
1: ^a\d+
2: \d+b$
Will become the intersection: ^a\d+b$

This topic has been often discussed in the internet and it seems to be possible
for the most regular expressions (some exceptions are those regular expressions
which use a type 2 grammatic such as recursive patterns).

How do you think about this feature?


Kind Regards
David Gausmann

--
You are receiving this mail because:
You are on the CC list for the bug.