Philip Hazel <> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
         Resolution|---                         |WONTFIX

--- Comment #2 from Philip Hazel <> ---
I have investigated further. In PCRE2, both \A and \C give an error if
encountered anywhere in a character class. Perl gives an warning if running in
warning mode, then treats them as literals. PCRE has no facility for warning,
so I think it is right to give an error.

In PCRE1 (8.39) when [\A-\C] is processed, \A is treated as a literal, but \C
throws an error as an invalid end of range. I think it has been like this for a
very long time. \A does cause an error if PCRE_EXTRA is set (which is a bit
like Perl's warning mode). For PCRE2 I decided to turn on the extra checking

At this stage in the life of PCRE1 I do not think it is worth doing anything,
so I am closing this bug.

You are receiving this mail because:
You are on the CC list for the bug.
## List details at 

Reply via email to