Perl regular expressions tutorial - 15 (A bit of magic: executing Perl code in a regular expression)
Normally, regexps are a part of Perl expressions. Code evaluation expressions turn that around by allowing arbitrary Perl code to be a part of a regexp. A code evaluation expression is denoted (?{co
复制链接