Well, this idea isn't new. It has (of course) been discussed
on p5p. And was never implemented because noone could find
a solution to the problems you list. What are you going to
do with /.*;/, which basically asks you to find the last
semi-colon in the stream?