"be consistent" | |
PerlMonks |
Re: Pattern with splitby Hofmator (Curate) |
on Aug 07, 2006 at 14:22 UTC ( [id://565953]=note: print w/replies, xml ) | Need Help?? |
Well, this is speccing by example ... not-enough-information error :)
But judging from the info you give us I would tend towards a capturing regex and not use split. Something like where the inside and outside of the parentheses are filled appropriately. -- Hofmator
In Section
Seekers of Perl Wisdom
|
|