regrep
v0.9.7
Published
You want to match multi lines use this regex `(.|[\r\n])*` or `[\s\S]*`
Downloads
11
Readme
You want to match multi lines use this regex (.|[\r\n])*
or [\s\S]*
Install:
npm i -g regrep
Usage:
regrep pattern
: note please enclose your pattern inside double quotes- Regrep only support reading data from
stdin
at the moment:
echo "123abc" | regrep "/\d+/"