Stupid case changing tricks needed.
Posted: Thu Aug 07, 2014 5:40 am
In BRU, you can make exceptions to changing case... can this behavior be duplicated in BRC?
For example:
Bob got a TV.txt => Bob Got A TV.txt
If I use /changecase:t, I would get:
Bob got a TV.txt => Bob Got A Tv.txt
Any way to do this?
Additionally, I wish BRU had the ability to apply case changes to regex output, using special backrefs... can this behavior be done using BRC?
For example:
John (Doe) zzz zzz [123].txt => John (Doe) ZZZ ZZZ [123].txt
Some regexes would allow you to do this with something like:
s/(.*\))(.*)(\[.*)/\1\U\2\E\3/
Where \U turns on uppercase, and \E turns it off.
I can't even begin to figure out how to simulate this in BRC. Any thoughts?
Thanks in advance.
BKNJ
For example:
Bob got a TV.txt => Bob Got A TV.txt
If I use /changecase:t, I would get:
Bob got a TV.txt => Bob Got A Tv.txt
Any way to do this?
Additionally, I wish BRU had the ability to apply case changes to regex output, using special backrefs... can this behavior be done using BRC?
For example:
John (Doe) zzz zzz [123].txt => John (Doe) ZZZ ZZZ [123].txt
Some regexes would allow you to do this with something like:
s/(.*\))(.*)(\[.*)/\1\U\2\E\3/
Where \U turns on uppercase, and \E turns it off.
I can't even begin to figure out how to simulate this in BRC. Any thoughts?
Thanks in advance.
BKNJ