in reply to Re^3: Hex regex fails in subroutine
in thread Hex regex fails in subroutine

See also haukex's article on dynamic regex alternations.


Give a man a fish:  <%-{-{-{-<

Replies are listed 'Best First'.
Re^5: Hex regex fails in subroutine
by NERDVANA (Priest) on Sep 30, 2023 at 22:50 UTC
    Definitely a useful technique, but a single set of characters should perform much faster than an alternation list. Of course you could use that technique to build the set of characters.