 |
SoftTree Technologies
Technical Support Forums
|
|
Author |
Message |
gemisigo
Joined: 11 Mar 2010 Posts: 2165
|
|
Q: Upper/Lower casing in Advanced Text Processor |
|
How do I upper/lowercase the found patterns in Advanced Text Processor? Using \L or \U does not seem to work.
|
|
Tue May 02, 2023 6:34 am |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7948
|
|
|
|
Are you referring to regular expressions in the replace pattern?
I think it doesn't support \L \U modifiers in replace patterns, pretty much limited to groups only
|
|
Tue May 02, 2023 1:03 pm |
|
 |
gemisigo
Joined: 11 Mar 2010 Posts: 2165
|
|
|
|
Ohh :( I guess that makes creating a ruleset that could convert variable names between snake case and camel case not possible, right?
|
|
Wed May 03, 2023 3:41 am |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7948
|
|
|
|
Possible with one letter replaced at a time, which would require doing the entire alphabet. Not very efficient.
FYI, There is a enhancement ticket to replace current regex engine, which is kind of limited to a subset of Perl regex, with a .NET standard regex engine, but that ticket is on hold pending further investigation. It would be backward incompatible and also not optimized for large text processing, which we require for some functions.
|
|
Wed May 03, 2023 8:34 am |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|