Commit 8fac0d5a38 for perl

commit 8fac0d5a38258f8c7b88a3ac44eb1c4734e4a18e
Merge: b883c96fa4 10bbb31287
Author: David Mitchell <davem@iabyn.nospamdeletethisbit.com>
Date:   Mon Nov 16 14:01:55 2026 +0000

    [MERGE] regex: clean up/refactor some EVAL code

    Several commits which collectively refactor and simplify the code which
    handles /(?{...})/ and similar, and moves the actual perl-calling part
    of it into a separate static function.

    Plus a little refactor of study_chunk()