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

            Bug ID: 2682
           Summary: backreference in recursive call create an error
           Product: PCRE
           Version: 8.44
          Hardware: x86
                OS: Windows
            Status: NEW
          Severity: bug
          Priority: medium
         Component: Code
          Assignee: philip.ha...@gmail.com
          Reporter: c_moi_l_mas...@hotmail.com
                CC: pcre-dev@exim.org

Hello,

The input string is "aaaaa"

The following regex works: /(a)(a(?2)?)/
but this won't work:       /(a)(\1(?2)?)/

With an error "recursive call could loop indefinitely"

This feels much like a bug, is it normal?

-- 
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