- or download this
my $regex = '\b(?:' . join('|', @nums) . ')\b'; # update: fixed concat
+enation issue
- or download this
my $regex = '\b(' . join('|', @nums) . ')\b'; # update: fixed concaten
+ation issue
- or download this
DB<1> $_ = "oh blah dee"
DB<2> ($x) = m/(blah)/
DB<3> x $x
0 'blah'