Thanks to both of you for your responses!
> It looks like you're dealing with foreign line ends...
I'm dealing with cleaning up the output of 'script' which sometimes has a ^M at EOL & '^M' in other cases. Changing $/ would be great if everything was consistent, but I see examples of both the control code & ASCII representations existing in the output.
FWIW.
In reply to Re^2: substituting constants within regex?
by Anonymous Monk
in thread substituting constants within regex?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |