On 10/04/2016 12:38 AM, Lam Bruce wrote:
egrep '2\.?[0–9]' datafile

I don't see any bug here. That bracket expression matches only the three characters, 0, –, 9, because – (U+2013, EN DASH) is an ordinary character. If you want a range you need to use - (U+002D, HYPHEN-MINUS).



Reply via email to