Parens are special characters to regular expressions. Only the first part of s/// is a regular expression. The replacement part is a string. Parens aren't special in strings (though $ and @ are, for example, so you'd have to escape those if you wanted a literal $ or @).
- tye (but my friends call me "Tye")In reply to (tye)Re: Easy one for my fellow Monks
by tye
in thread Easy one for my fellow Monks
by ddrumguy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |