in reply to
Re^2: Is this the best regex?
in thread
Is this the best regex?
Wait. I saw your comment re the capturing parentheses. How do I capture both the fields and the delimiters?
Comment on
Re^3: Is this the best regex?
Replies are listed 'Best First'.
Re^4: Is this the best regex?
by
Anonymous Monk
on Sep 09, 2009 at 05:03 UTC
I figured it out. SLICK! Split with capturing parens keeps that part of the delimiter. Slick!!
[reply]
In Section
Seekers of Perl Wisdom