Pluggable Regex Engines
e.g.: Google’s RE2
use re
::engine::RE2;
if
(
"Hello, world"
=~
/
Hello,
(
world
)
/
) {
print
"Greetings,
$1
!"
; }
Lexically scoped
Falls back to Perl’s regex engine