![]() |
|
Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re^23: Addional "year" matching functionality in word matching scriptby choroba (Cardinal) |
on Aug 03, 2016 at 16:02 UTC ( #1169090=note: print w/replies, xml ) | Need Help?? |
See perlre for explanation. \b matches "word boundaries", but in a special meaning of "word". /i makes the matching case insensitive, and /g makes it global, i.e. it matches as many times as it can, and returns all the matching substrings.
In Section
Seekers of Perl Wisdom
|
|