Modify

Opened 14 years ago

Closed 14 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 Changed 14 years ago by Jpm

comment:2 Changed 14 years ago by Jpm

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:3 Changed 14 years ago by Jpm

This ticket is referenced in revision: [5845]

comment:4 Changed 14 years ago by Jpm

  • Resolution set to No Bug
  • Status changed from new to closed

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

Action
as closed The ticket will remain with no owner.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.