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