Your regex /.{54}\\[a-zA-Z]\s[\r\n]/g (please use <code> ... </code> tags for all code, data and input/output; please see Writeup Formatting Tips) requires a [\r\n] to match, but chomp $row; will remove a newline from the end of each line (if present). Are you sure that a match is possible? Are you depending on a match against \r (carriage-return)? (Also, the /g modifier on the m// has no effect, although it does no harm.)
Give a man a fish: <%-{-{-{-<
In reply to Re: How do I display only matches
by AnomalousMonk
in thread (SOLVED) How do I display only matches
by tem2
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |