Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/afeiship/next-multiple-exec
Multiple exec for regexp.
https://github.com/afeiship/next-multiple-exec
exec match multiple next regexp search
Last synced: 22 days ago
JSON representation
Multiple exec for regexp.
- Host: GitHub
- URL: https://github.com/afeiship/next-multiple-exec
- Owner: afeiship
- License: mit
- Created: 2020-07-17T02:59:09.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-11-20T10:10:16.000Z (about 4 years ago)
- Last Synced: 2024-11-29T09:14:06.313Z (about 1 month ago)
- Topics: exec, match, multiple, next, regexp, search
- Language: JavaScript
- Homepage:
- Size: 8.79 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# next-multiple-exec
> Multiple exec for regexp.[![version][version-image]][version-url]
[![license][license-image]][license-url]
[![size][size-image]][size-url]
[![download][download-image]][download-url]## installation
```bash
npm install -S @jswork/next-multiple-exec
```## usage
```js
import '@feizheng/next-multiple-exec';const re = /\${{(.*?)}}/g;
const str = '${{ GITHUB_API_TOKEN }} - ${{ afei }}';nx.multipleExec(re, str); // [ ' GITHUB_API_TOKEN ', ' afei ' ]
```## resources
- https://stackoverflow.com/questions/7954022/javascript-regular-expression-multiple-match## license
Code released under [the MIT license](https://github.com/afeiship/next-multiple-exec/blob/master/LICENSE.txt).[version-image]: https://img.shields.io/npm/v/@jswork/next-multiple-exec
[version-url]: https://npmjs.org/package/@jswork/next-multiple-exec[license-image]: https://img.shields.io/npm/l/@jswork/next-multiple-exec
[license-url]: https://github.com/afeiship/next-multiple-exec/blob/master/LICENSE.txt[size-image]: https://img.shields.io/bundlephobia/minzip/@jswork/next-multiple-exec
[size-url]: https://github.com/afeiship/next-multiple-exec/blob/master/dist/next-multiple-exec.min.js[download-image]: https://img.shields.io/npm/dm/@jswork/next-multiple-exec
[download-url]: https://www.npmjs.com/package/@jswork/next-multiple-exec