On 24/02/2022 10:14, Jan Beulich wrote: > With version 2.7 I'm observing support for binary searches, but > unreliable results: Only a subset of the supposed matches is actually > reported; for our pattern I've never observed any match. This same > version works fine when handing it a Perl regexp using hex or octal > escapes. Probe for support of -P and prefer that over the original > approach. > > Fixes: 4d037425dccf ("x86: Build check for embedded endbr64 instructions") > Signed-off-by: Jan Beulich <jbeul...@suse.com>
Looks plausible. Tentative ack, but this definitely needs a full run through CI before committing. Let me kick something off. > --- > If we were to fear -P having a different meaning elsewhere, we may need > to switch to the respective long option (--perl-regexp). We can probably get away with -P. ~Andrew