https://bugs.exim.org/show_bug.cgi?id=2647

            Bug ID: 2647
           Summary: Pattern [\w]*[CA]X*B does not match string "ABC" with
                    JIT enabled
           Product: PCRE
           Version: 10.35 (PCRE2)
          Hardware: x86-64
                OS: Linux
            Status: NEW
          Severity: bug
          Priority: medium
         Component: Code
          Assignee: philip.ha...@gmail.com
          Reporter: tet...@tetyys.com
                CC: pcre-dev@exim.org

v10.35:

$ echo ABC | ./pcre2grep --no-jit '[\w]*[CA]X*B'
ABC

$ echo ABC | ./pcre2grep '[\w]*[CA]X*B'


---
v10.32:

$ echo ABC | ./pcre2grep --no-jit '[\w]*[CA]X*B'
ABC

$ echo ABC | ./pcre2grep '[\w]*[CA]X*B'
ABC

---

Using PCRE2_NO_START_OPTIMIZE bypasses the issue (v10.35):

$ echo ABC | ./pcre2grep '(*NO_START_OPT)[\w]*[CA]X*B'
ABC

---

Please see https://github.com/ltrzesniewski/pcre-net/issues/22 for context

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-- 
## List details at https://lists.exim.org/mailman/listinfo/pcre-dev 

Reply via email to