in reply to Re^2: Programmatic regex disjunction
in thread Programmatic regex disjunction

Ah! Of course.

But a quick test shows me that that too does not propagate captures from the delayed patterns to the including pattern, which is why I memorised the rule as “combining precompiled patterns requires recompilation.”

(Most of the time I build a pattern programmatically from a list involves matching one of a list of hash keys, some way or other, so capturing is always involved in some fashion.)

Thanks for the correction.

Makeshifts last the longest.