[pcre-dev] [Bug 2690] Discontinuous behavior with parsing of…

Kezdőlap
Üzenet törlése
Szerző: admin
Dátum:  
Címzett: pcre-dev
Tárgy: [pcre-dev] [Bug 2690] Discontinuous behavior with parsing of backslash followed by number
https://bugs.exim.org/show_bug.cgi?id=2690

--- Comment #1 from firas <firas.dib@???> ---
Another, somewhat related, issue is with quantifiers. The expression /a{123/
will match the string 'a{123' literally. However, if the number exeeds 65535,
the engine throws an unexpected error. This is expected to always be treated as
a literal unless a closing bracket is encountered.

In Perl, "a{65536" =~ m/a{65536/ matches fine. It throws a warning regarding an
unescaped bracket, but it matches none the less.

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