in reply to Re: substituting constants within regex?
in thread substituting constants within regex?
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.
|
---|