in reply to Re^2: Regex Help
in thread Regex Help

Dru,
I am surprised that /ATDT\d+.*BUSY/s does not work. I would suggest an octal dump and since you are on Win32, you might need Perl Power Tools. It will show you what you can't see ;-)

Cheers - L~R

Replies are listed 'Best First'.
Re^4: Regex Help
by eXile (Priest) on Jun 07, 2004 at 15:28 UTC
    Or use perl itself for a rudimentary dump of the stream:
    echo "ATDT123456 \r\nBUSY" | perl -e 'local $/=undef;@chars=split //, +<STDIN>; for(@chars) {print $_ . " " . ord($_) . "\n"; }'