nav tabs on admin dashboard
This commit is contained in:
2
node_modules/ajv-keywords/keywords/regexp.js
generated
vendored
2
node_modules/ajv-keywords/keywords/regexp.js
generated
vendored
@@ -11,7 +11,7 @@ module.exports = function defFunc(ajv) {
|
||||
if (typeof schema == 'object')
|
||||
return new RegExp(schema.pattern, schema.flags);
|
||||
|
||||
var rx = schema.match(/^\/(.*)\/([gimy]*)$/);
|
||||
var rx = schema.match(/^\/(.*)\/([gimuy]*)$/);
|
||||
if (rx) return new RegExp(rx[1], rx[2]);
|
||||
throw new Error('cannot parse string into RegExp');
|
||||
} catch(e) {
|
||||
|
||||
Reference in New Issue
Block a user