Perl: the Markov chain saw | |
PerlMonks |
Grabbing Adjacent Chars In A String - Re: Capturing with look-aheadby metadoktor (Hermit) |
on Mar 04, 2002 at 15:57 UTC ( [id://149146]=note: print w/replies, xml ) | Need Help?? |
I suspect that this question is related to the current Perl Review golfing challenge, but here is a solution to your problem. I could give you a regex-based solution but it would be more complicated and probably less efficient.
produces... bl la ah metadoktor "The doktor is in."
In Section
Seekers of Perl Wisdom
|
|