in reply to Re: Regexes on Streams
in thread Regexes on Streams
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