1.0.0 • Published 7 years ago
@cush/execall v1.0.0
@cush/execall v1.0.0
Returns a new array of RegExp.prototype.exec matches.
Forked from https://github.com/eush77/regexp.execall
const all = require('@cush/execall');
all(regexp, string); // => []- Empty matches are excluded from the array.
- When
regexp.globalis false, the array will either have one match or none. - When
stringis falsy, the array will always be empty.
1.0.0
7 years ago