https://bugs.exim.org/show_bug.cgi?id=2153
Philip Hazel <p...@hermes.cam.ac.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #2 from Philip Hazel <p...@hermes.cam.ac.uk> --- A closer look at Perl shows that it warns for [[:ascii:]-X] but not if the hyphen is the last character in the class, as in your example. I had not noticed this subtlety. I have just committed a patch (in time to make it into 10.30) that allows a hyphen as the last character in the class, whatever precedes it. This makes "put a hyphen as the first or last character" always true. While doing this I discovered a different bug: PCRE2 was not giving an error for [\d-X] whereas Perl gives a warning. I have changed this so that \d and [:digit:] behaviour is the same. Thank you for raising this issue. -- 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