This seems to do the trick, but I don't know regcomp.c well enough to be
sure that the change is correct and that the comment is not misleading.
Patch against blead attached, review please.
Nick
PATCH: [perl #79152] regexec: super-linear cache can prevent avalid match
by Nick Cleaton