It shows well how a slight shift on the problem expression
can lead to a more powerful, simpler to use and general solution.
In this case, the shift is to design stream processors (like `sed` and `awk`)
to work on streams of text chunks defined by regular expressions
rather on streams of lines matching regular expressions.
Regarding this concern,
it's hard to say what is the plan of Matz for Streem
with a single code example. But the fact,
that this sample code processes a stream of integers,
lets hope a tool with more flexibility than `sed` or `awk`
to specify what is processed along the streams.