chickadee » irregex » irregex-opt

irregex-opt <list-of-strings>procedure

Returns an optimized SRE matching any of the literal strings in the list, like Emacs' regexp-opt. Note this optimization doesn't help when irregex is able to build a DFA.