Subject: Re: bug#51231: increase performance and usability of binary search with -P

From: Paul Eggert <[email-masked]>
Date: Fri, 15 Oct 2021 19:27:03 -0700

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'.