Perl Monk, Perl Meditation | |
PerlMonks |
Re^3: split on delimiter unless escapedby yrp001 (Initiate) |
on Nov 10, 2010 at 00:19 UTC ( [id://870443]=note: print w/replies, xml ) | Need Help?? |
Hi ikegami, Thanks for your example. I'm still trying to figure it all out. I'm running it as below, and it doesn't seem to quite do what I want. I only want the escape character to be treated specially if it's in !+; - i.e. a!!b should be a!!b, whereas a!!!;b should be a!;b. Also, I seem to be getting an empty field at the end. One or more semicolons at the end seem to be parsed properly, though. One test string returns a blank result. ?
Sample results:
In Section
Seekers of Perl Wisdom
|
|