So use this instead:
And the regex contains a (this time positive) lookbehind-assertion (and not lookahead as I wrote above).perl -i.old -pe 's/(?<=[A-Z])(\w)/lc $1/eg' <FILENAME>
Sorry for the confusion.
In reply to Re^2: Case Munging
by morgon
in thread Case Munging
by mikeraz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |