Opened 16 years ago
Closed 16 years ago
#1637 closed Bug (No Bug)
Certain charactered missed by StringRegExp() and the replace
| Reported by: | GEOSoft | Owned by: | |
|---|---|---|---|
| Milestone: | Component: | AutoIt | |
| Version: | 3.3.6.0 | Severity: | None |
| Keywords: | StringRegExp Hex PCRE | Cc: |
Description
I can't really provide a meaningfull demo script for this but You can read the conversation starting from this post.
http://www.autoitscript.com/forum/index.php?showtopic=114423&view=findpost&p=801540
I don't really think it's an AutoIt bug. It seems to be hex related and probably in PCRE.
I'm wondering if updating the engine from 8.0.0 to 8.0.2 might be the solution. I notice several bug fixes in the last 2 versions.
Also there is a docs error for the chart for StringRegExp()
\x## = Match the ascii character whose code is given in hexadecimal. Can be up to 2 digits.
should read either
\x## = Match the ascii character whose code is given in hexadecimal. Can be up to 2 xdigits.
OR
\x## = Match the ascii character whose code is given in hexadecimal. Can be up to 2 characters.
None of this would ever matter if we could get Unicode support working.
Attachments (0)
Change History (4)
comment:1 by , 16 years ago
comment:2 by , 16 years ago
as "Unicode properties support" is not a solution to a pattern such as \x80-\xff
and AutoIt is doing the right job with UTF8 conversion, just some slight doc will be updated
comment:4 by , 16 years ago
| Resolution: | → No Bug |
|---|---|
| Status: | new → closed |

as stated by jchd I don't think there is any bug
see http://www.autoitscript.com/forum/index.php?showtopic=114423&view=findpost&p=801827