Opened 11 years ago
Closed 11 years ago
#2997 closed Bug (Fixed)
Bug in PCRE
| Reported by: | jchd18 | Owned by: | Jon |
|---|---|---|---|
| Milestone: | 3.3.15.0 | Component: | AutoIt |
| Version: | 3.3.14.0 | Severity: | None |
| Keywords: | Cc: |
Description
A bug in recent releases of the PCRE library has been reported which may affect users running the 3.3.13.19 beta (the 3.3.12.0 release is OK):
In caseless utf modes, it is possible for character classes to be missing the lowercase version of some ascii characters.
Example below shows that the beta gives a wrong result (the range a-j is missed), yet the release behaves correctly:
ConsoleWrite(StringRegExpReplace("ABCDEFGHIJKLmonpqrstuvwxyz[\]^_` 123456 abcdefgijklmnopqrstuvwxyz", "(?i)([A-`])", "*") & @LF)
Advice: if you need the beta, make character ranges in classes more explicit, until Dev team can link a fixed version of PCRE in a new AutoIt beta or release.
Remark: no change in PCRE can be found in the changelog between release 3.3.12.0 and beta 3.3.13.19 but the code sample above clearly demonstrate they don't use the same PCRE version.
Attachments (0)
Change History (9)
comment:1 by , 11 years ago
comment:3 by , 11 years ago
Yes it is. It also crept in PCRE2 (10.00 and 10.10RC2 exhibit the same bug). No doubt it will be fixed soon by Philip Hazel & co.
comment:5 by , 11 years ago
The bug was reported to the dev list and quickly fixed some time ago.
PCRE2 is moving forward. There is a RC being tested but I expect some time before the dust settles.
comment:6 by , 11 years ago
I notice that the last release (3.3.14.0) dated 2015-07-10 uses PCRE v8.35 (dated 2014-04-04) instead of the last available version, 8.37 dated 2015-04-28. This explains why the bug in this "ticket" (rather a notice) can still show.
comment:8 by , 11 years ago
| Summary: | Bug in PCRE (only in 3.3.13.19 beta) → Bug in PCRE |
|---|---|
| Version: | 3.3.13.19 → 3.3.14.0 |
comment:9 by , 11 years ago
| Milestone: | → 3.3.15.0 |
|---|---|
| Owner: | set to |
| Resolution: | → Fixed |
| Status: | new → closed |
Fixed by revision [11405] in version: 3.3.15.0

In fact PCRE has been updated to 8.35 in 3.3.13.13
It can be related I will check