Perl: the Markov chain saw | |
PerlMonks |
Re: Regex Helpby Abigail-II (Bishop) |
on Jun 07, 2004 at 15:01 UTC ( [id://362008]=note: print w/replies, xml ) | Need Help?? |
Are you by any chance iterating line by line over your input?
In that case, you will never match a string with an internal newline. Another potential problem are spaces you aren't noticing.
Try /ATDT\d+\s+BUSY/ (no /m needed if you aren't using ^ or $).
Abigail
In Section
Seekers of Perl Wisdom
|
|