in reply to
Re: Regex Help
in thread
Regex Help
As I said, you are iterating over your input line by line. Your loop will
never
see a string where a newline separates "ATDT" and "BUSY". Don't loop line by line if you want to do multiline matching.
Abigail
Comment on
Re: Regex Help
In Section
Seekers of Perl Wisdom