Closed Puliczek closed 4 years ago
Ah, good catch, thank you! I was not using the PCRE2_SUBSTITUTE_EXTENDED
option when calling pcre2_substitute()
. I will fix this in pcre2-wasm and update this project.
Okay, fixed in 2.0.4, published to the Marketplace. Please update to latest version.
The syntax you'll want to use is ID_OSOB_\U${1}(""),
, as shown in the attached picture.
Thanks for using the extension!
How to get it works?
Regex:
ID_OSOB_([A-Z_a-złóźżćęą]+)
Replace
ID_OSOB_${\U1}(""),
- not workingID_OSOB_${\u1}(""),
- not workingID_OSOB_$\U{1}(""),
- not workingID_OSOB_\U${1}(""),
- not workingID_OSOB_${1:\U}(""),
- not workingID_OSOB_${1:+\U}(""),
- not workingSearch Text: ID_OSOB_Bułgaria
Replaced Text SHOULD BE: ID_OSOB_BUŁGARIA(""),
However replaced Text is NULL (invalid regular expression) or ID_OSOB_Bułgaria(""),