Aktueller Stand
This commit is contained in:
11
backend/node_modules/zeptomatch/dist/compile/index.js
generated
vendored
Normal file
11
backend/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;
|
||||
Reference in New Issue
Block a user