Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re: Re: Regexes on Streamsby tsee (Curate) |
on Oct 11, 2003 at 07:19 UTC ( [id://298487]=note: print w/replies, xml ) | Need Help?? |
Nothing. Anybody asking for any *last* thing in a stream is asking for trouble! Streams are of infinite length by concept, which is something one should be aware of before trying to combine streams and regexes.
So in brief: /.*;/ should yield the whole stream in-memory. Which is exactly what the author of the regex asked for. Steffen
In Section
Meditations
|
|