mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-28 01:55:38 -05:00
Fixing my actual regexp checker
This commit is contained in:
parent
30d8eb8256
commit
e958c1293d
1 changed files with 1 additions and 1 deletions
|
@ -15,4 +15,4 @@ module.exports.scriptMatchesEventPrereqs = scriptMatchesEventPrereqs = (script,
|
|||
return false if ap.containingRegexp? and v?.search(new RegExp(ap.containingRegexp)) == -1
|
||||
return false if ap.notContainingRegexp? and v?.search(new RegExp(ap.notContainingRegexp)) != -1
|
||||
|
||||
return true
|
||||
return true
|
Loading…
Reference in a new issue