Pluggable Regex Engines 

use re::engine::RE2;

if ("Hello, world" =~ /Hello, (world)/) {
    print "Greetings, $1!";
}