match stream data using regular expression

何一鸣
Sep 14, 2021

--

We do not need full text available in order to match using regular expression, try https://www.npmjs.com/package/@yiminghe/regexp :

npm i @yiminghe/regexp

Then we can pull char from stream and match it by regular expression:

async regexp
async regexp

--

--