Modify

Opened 5 years ago

Last modified 5 years ago

#2987 new Feature Request

support PCRE case escape sequences

Reported by: iCode Owned by:
Milestone: Component: AutoIt
Version: Severity: None
Keywords: pcre, case Cc:

Description

apparently the \u \U escapes are not used in the AutoIt version of PCRE unless the running PCRE in JS mode, so...

AHK supports at least some of these and it sure would make case changes a lot easier in certain instances...

\l lowercase next char
\u uppercase next char
\L lowercase until \E
\U uppercase until \E

example:

StringRegExpReplace("this. that", "\. ([a-z])", ". \u1")
; returns: this. That

ref: http://perldoc.perl.org/perlre.html

Attachments (0)

Change History (1)

comment:1 Changed 5 years ago by jchd18

AutoIt uses a standard copy of PCRE and it's highly unlikely that the devs would want to maintain a modified/enhanced version just to support these Perl escapes.

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 new 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.