mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-04-26 05:53:39 -04: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…
Add table
Add a link
Reference in a new issue