[pcre-dev] [Bug 1882] New: Different result with PCRE_NO_STA…

Top Page
Delete this message
Author: admin
Date:  
To: pcre-dev
Subject: [pcre-dev] [Bug 1882] New: Different result with PCRE_NO_START_OPTIMISE set
https://bugs.exim.org/show_bug.cgi?id=1882

            Bug ID: 1882
           Summary: Different result with PCRE_NO_START_OPTIMISE set
           Product: PCRE
           Version: 8.39
          Hardware: x86
                OS: All
            Status: NEW
          Severity: bug
          Priority: medium
         Component: Code
          Assignee: ph10@???
          Reporter: firas.dib@???
                CC: pcre-dev@???


Given the regex

`(?=.*[A-Z])(?=.*[a-z])(?=.*[0-9])(?=.*[,;:])(?=.{8,16})(?!.*[\s])`

and the string

` Fred:099`

you get two different results if you compile the regex with or without
PCRE_NO_START_OPTIMISE. Without, and it doesn't match. With, it does.

(Backticks are only used to denote start/end of string)

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