Remove all remaining validator_regexp
This commit is contained in:
parent
373bd83640
commit
ecb815666e
6 changed files with 9 additions and 9 deletions
|
|
@ -52,8 +52,8 @@
|
|||
soluce = soluce.toLowerCase();
|
||||
}
|
||||
|
||||
if (flag.validator_regexp) {
|
||||
let re = new RegExp(flag.validator_regexp, flag.ignore_case?'i':'');
|
||||
if (flag.capture_regexp) {
|
||||
let re = new RegExp(flag.capture_regexp, flag.ignore_case?'i':'');
|
||||
soluce = soluce.match(re).slice(1).join("+");
|
||||
}
|
||||
|
||||
|
|
|
|||
Reference in a new issue