[pcre-dev] [Bug 2682] New: backreference in recursive call c…

Góra strony
Delete this message
Autor: admin
Data:  
Dla: pcre-dev
Temat: [pcre-dev] [Bug 2682] New: backreference in recursive call create an error
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.Hazel@???
          Reporter: c_moi_l_master@???
                CC: pcre-dev@???


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.