Re: [code] Regex replace and CRLF files

From: Mitchell <m.att.foicica.com>
Date: Fri, 29 Jun 2012 15:42:07 -0400 (Eastern Daylight Time)

Brian,

On Fri, 29 Jun 2012, Brian Schott wrote:

> I discovered today that using \n in the find and replace pane has some
> strange behavior on Linux when dealing with files having CRLF
> (Windows) line endings. Apparently the \n matches only the LF
> character, and not its paired CR. Is this intentional?

Yes, you need to do \r\n to match CRLF since they are technically separate
characters.

Mitchell

-- 
You are subscribed to code.att.foicica.com.
To change subscription settings, send an e-mail to code+help.att.foicica.com.
To unsubscribe, send an e-mail to code+unsubscribe.att.foicica.com.
Received on Fri 29 Jun 2012 - 15:42:07 EDT

This archive was generated by hypermail 2.2.0 : Sat 30 Jun 2012 - 06:40:11 EDT