My guess is that your input is different to what you think.
Do you probably have weird line endings?
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
FootballPerl is like chess, only without the dice
In reply to Re^3: Perl regex txt file new line (not recognised?)
by LanX
in thread Perl regex txt file new line (not recognised?)
by thurinus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |