- @parts = split(/($pre.*?$post)/,$text); + @parts = split(/($pre.*?%*$post)/,$text); [download]
In reply to Re: regex question by Fastolfe in thread regex question by joe