Initial commit
This commit is contained in:
commit
b3a51a4115
10336 changed files with 2381973 additions and 0 deletions
11
node_modules/zeptomatch/dist/compile/index.js
generated
vendored
Normal file
11
node_modules/zeptomatch/dist/compile/index.js
generated
vendored
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
/* IMPORT */
|
||||
import graphmatch from 'graphmatch';
|
||||
/* MAIN */
|
||||
const compile = (node, options) => {
|
||||
const re = graphmatch.compile(node, options);
|
||||
const source = `${re.source.slice(0, -1)}[\\\\/]?$`; // With optional trailing slash
|
||||
const flags = re.flags;
|
||||
return new RegExp(source, flags);
|
||||
};
|
||||
/* EXPORT */
|
||||
export default compile;
|
||||
Loading…
Add table
Add a link
Reference in a new issue