in reply to Re: Regex Help
in thread Regex Help
and I'm still not matching. Something that I didn't mention in the first post, that I didn't feel was relevant, but maybe it is. In this file, each line ends with a ^M character (I forget what these are called, form feeds?), but when I print out the entire file in a while loop, they do not appear, so I figured they did not effect the regex or do they? If they did, then this one should still work print if /ATDT\d+.*BUSY/s; right?print if /ATDT\d+.BUSY/s; print if /ATDT\d+.*BUSY/s; print if /ATDT\d+\r\nBUSY/m;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Regex Help
by Limbic~Region (Chancellor) on Jun 07, 2004 at 15:04 UTC | |
by eXile (Priest) on Jun 07, 2004 at 15:28 UTC |