1.0.0 • Published 4 years ago

@feizheng/next-multiple-exec v1.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
4 years ago

next-multiple-exec

Multiple exec for regexp.

version license size download

installation

npm install -S @feizheng/next-multiple-exec

usage

import '@feizheng/next-multiple-exec';

const re = /\${{(.*?)}}/g;
const str = '${{ GITHUB_API_TOKEN }} - ${{ afei }}';

nx.multipleExec(re, str);     // [ ' GITHUB_API_TOKEN ', ' afei ' ]

license

Code released under the MIT license.

1.0.0

4 years ago