Your second piece of code s/(-| |^|\()(.)/$1\u$2/g; worked perfectly when I tested it. What kind of error are you encountering?
Cheers, Sören
In reply to Re: Parenthesis Match
by Happy-the-monk
in thread Parenthesis Match
by fourmi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |