in reply to Re^2: regex basics
in thread regex basics
Those blank lines you see are mysterious. There shouldn't be any such lines as nothing is printed when a comment is found.
!$_ /;\s+/ is invalid syntax and confused the Perl-interpreter hence the rather unhelpful error message.
CountZero
A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James
My blog: Imperial Deltronics
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: regex basics
by jott19 (Initiate) on Feb 02, 2015 at 14:01 UTC | |
by choroba (Cardinal) on Feb 02, 2015 at 15:28 UTC | |
by AnomalousMonk (Archbishop) on Feb 02, 2015 at 19:13 UTC | |
by Anonymous Monk on Feb 04, 2015 at 07:18 UTC |