An all-ASCII pattern can match non-ASCII data. For example, the pattern 'a.b' can match the string 'aΓb'. So it's not clear to me that the patch is correct in general.

For speed, try setting LC_ALL='C'.



Reply via email to