1.0.0 • Published 3 years ago
@jswork/next-multiple-exec v1.0.0
next-multiple-exec
Multiple exec for regexp.
installation
npm install -S @jswork/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 ' ]
resources
license
Code released under the MIT license.
1.0.0
3 years ago