in reply to Re^22: Addional "year" matching functionality in word matching script
in thread Addional "year" matching functionality in word matching script
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.
($q=q:Sq=~/;[c](.)(.)/;chr(-||-|5+lengthSq)`"S|oS2"`map{chr |+ord }map{substrSq`S_+|`|}3E|-|`7**2-3:)=~y+S|`+$1,++print+eval$q,q,a,
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^24: Addional "year" matching functionality in word matching script
by bms9nmh (Novice) on Aug 18, 2016 at 17:01 UTC | |
by choroba (Cardinal) on Aug 18, 2016 at 19:35 UTC |
In Section
Seekers of Perl Wisdom