Suppose you want to do regular expression search and extract over a pipe, but the pattern may cross multiple lines, How to do it? Maybe a regular expression library work for
I do not believe that it is possible to use a regular expression on a stream, because without an entire piece of data, you cant make a positive match. This means that you would only have a probable match.
However, as @James Henstridge stated, you could use buffers to overcome this.