Perl: regular expressions: yesterday’s code explained
The tutor tells the workings of yesterday’s pattern matching example. In yesterday’s post I mention that the regular expression if ($input=~/item1[^0-9]*[0-9]*.?[0-9]{0,2}/i) can find the pattern item1….$#####.## in a longer string. Here are some explanatory points: =~ is the pattern find …
Perl: regular expressions: yesterday’s code explained Read more »