Regex broken??

Suvayu Ali fatkasuvayu+linux at gmail.com
Wed Jul 9 09:39:12 UTC 2014


On Wed, Jul 09, 2014 at 02:16:21PM +0930, Stephen Davies wrote:
> Mea culpa :-(
> 
> Twice over in fact.
> 
> 1. I hadn't noticed that the files in question were all DOS files sent to me
> by a windows user ( so trailing $ searches failed) and
> 
> 2. I hadn't noticed that all lines started with a space.
> 
> Elderly blindness. Sorry.

A weakly related note about regexes; if your regex uses ranges, or
character classes, your results may vary depending on your current
locale!

-- 
Suvayu

Open source is the future. It sets us free.


More information about the users mailing list