Help for this page
$regex = qr/test/;
if (/$regex OtherWord/i) {...}
if (/(?-ixsm:$regex) OtherWord/i) { ... }