Package Exports
- regex-join
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (regex-join) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
regex-join 
Merge multiple regexes and strings into one, preserving all the flags, automatically escaping the strings
Install
npm install regex-joinconst regexJoin = require('regex-join');Usage
regexJoin(/^beginning/g, / (.+) end/);
// => /^beginning (.+) end/gregexJoin('My (last) name is ', /(\w+)/g);
// => /My \(last\) name is (\w+)/gAPI
regexJoin(part, part[, part,...])
Merges any number of RegExp or strings into one and returns a single RegExp
part
Type: RegExp | string
Related
- one-event - Micro module to add an event listener to be executed only once.
- select-dom - Lightweight
querySelector/Allwrapper that outputs an Array. - doma - Parse an HTML string into
DocumentFragmentor oneElement, in a few bytes. - Refined GitHub - Uses this module.