Modify ↓
Opened 11 years ago
Closed 6 years ago
#2987 closed Feature Request (Rejected)
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
Attachments (0)
Change History (2)
comment:1 by , 11 years ago
comment:2 by , 6 years ago
| Resolution: | → Rejected |
|---|---|
| Status: | new → closed |
PCRE still doesn't support these Perlisms, so it's extremely unlikely that AutoIt will ever implement them.
Also please note that the replace part isn't a pattern: only $1, $2, $3, ... (or \1, \2, \3, ...) are recognized there.
Closing as "rejected".
Note:
See TracTickets
for help on using tickets.

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.