mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-30 19:06:59 -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