[pcre-dev] [Bug 2030] New: Exact match mode

Top Page
Delete this message
Author: admin
Date:  
To: pcre-dev
New-Topics: [pcre-dev] [Bug 2030] Exact match mode
Subject: [pcre-dev] [Bug 2030] New: Exact match mode
https://bugs.exim.org/show_bug.cgi?id=2030

            Bug ID: 2030
           Summary: Exact match mode
           Product: PCRE
           Version: 10.22 (PCRE2)
          Hardware: x86
                OS: Linux
            Status: NEW
          Severity: wishlist
          Priority: medium
         Component: Code
          Assignee: ph10@???
          Reporter: dangelog@???
                CC: pcre-dev@???


>From time to time I'm interested in whether a given regexp matches a subject

exactly (that is, the entire subject string is matched by the pattern). For
this purpose I wrap the pattern in `\A(` and `)\z` and then attempt the match.

It would be convenient to have a match option that does exactly this without
resorting to string manipulation (and without the need of recompiling the
original pattern).

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