2018
2013
Regular Expressions Cheat Sheet by DaveChild - Cheatography.com
? where does my regexp mismatch ?
die "wrong pattern on $`//$+//$'";
2011
perlfaq6 - what is /o really for ?
(via)The /o option for regular expressions (documented in perlop and perlreref) tells Perl to compile the regular expression only once.
This is only useful when the pattern contains a variable.
Perls 5.6 and later handle this automatically if the pattern does not change.
1
(3 marks)