in reply to Re: How can i catch strings matching a regex across multiple lines?
in thread How can i catch strings matching a regex across multiple lines?
The much bigger potential perpetrator is the "$/" setting.
Since you expect to be reading lines, you need a record separator - otherwise, the entire stream will be "slurp"ed, and you will see only one record, which matches your symptoms.
I hope life isn't a big joke, because I don't get it.
-SNL
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: How can i catch strings matching a regex across multiple lines?
by aaron_baugher (Curate) on Jun 30, 2012 at 23:42 UTC |