It exports the regexps in a tied hash, and uses some tricks to generate parametrized regexps on demand.
The interesting thing is that you can interpolate the hash slots directly as in $foo =~ /$RE{balanced}{-parens=>'()'}/
In reply to Re: Use function as a regex
by salva
in thread Use function as a regex
by stevieb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |