in reply to
using regex with records
The
__DATA__
you posted does not have
\n\n
. It looks like you have a single backslash on a couple of lines.
Comment on
Re: using regex with records
Select
or
Download
Code
Replies are listed 'Best First'.
Re^2: using regex with records
by
Anonymous Monk
on Jan 02, 2012 at 01:24 UTC
Sorry -- the \n\n isn't posted in the _DATA_ -- I'm just including one record for an example.
[reply]
Re^3: using regex with records
by
toolic
(Bishop)
on Jan 02, 2012 at 01:57 UTC
.*
does not match
\n
by default. You need to use
//s
. Read
perlre
.
[reply]
[d/l]
[select]
In Section
Seekers of Perl Wisdom