1.0.0 • Published 4 years ago
@feizheng/next-multiple-exec v1.0.0
next-multiple-exec
Multiple exec for regexp.
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