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.
继续阅读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.
继续阅读