Package Usage: npm: regexp-from-string
Creates RegExp from a string, e.g. `/string/gi` and provides some utils to work with RegExp as strings, for example, to extract multi RegExps defined within a same string, e.g. `/Rock/, /and/, /roll/i`.
1 version
Latest release: about 9 years ago
73 downloads last month
View more package details: https://packages.ecosystem.code.gouv.fr/registries/npmjs.org/packages/regexp-from-string