in reply to Re: REGEX different on Linux & Win32!
in thread REGEX different on Linux & Win32!

Uhm, no. Line endings are always \n. On both Windows and Unix (and VMS, etc), \n translates to the appropriate byte sequence on the platform.

\n translates to "\x0A" on Unix, and also on Windows. (It's a lower level driver that translates "\x0A" to and from "\x0D\x0A" when writing to/reading from disk.) Problems only arise when moving files between Unix and Windows platforms - unless one uses FTP's ASCII transfer.

Abigail