in reply to Re^3: regex to add network line-endings if required.
in thread regex to add network line-endings if required.
Isn't that always going to match \012 in preference to \012\015?
Also, from the way I read the OP, they are only interested in fixing line-endings; ie. those at the end of the string rather than any embedded, but I could be wrong on that.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: regex to add network line-endings if required.
by mr_mischief (Monsignor) on Feb 15, 2005 at 20:27 UTC |