I still don't understand your use-case well enough to see why the "(?adlupimsx-imsx)" embedded pattern-match modifier would not be useful here (see Extended Patterns in perlre).
Give a man a fish: <%-(-(-(-<
In reply to Re^3: Dumping regexp for Perl versions earlier than 5.14
by AnomalousMonk
in thread Dumping regexp for Perl versions earlier than 5.14
by perlancar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |