mirror of
https://github.com/github/codeql.git
synced 2026-04-26 09:15:12 +02:00
JS: Simplify charpred of Match
This commit is contained in:
@@ -269,7 +269,7 @@ newtype TState =
|
||||
(
|
||||
i = 0
|
||||
or
|
||||
i = [ 1 .. t.(RegExpConstant).getValue().length() - 1 ]
|
||||
exists(t.(RegExpConstant).getValue().charAt(i))
|
||||
)
|
||||
} or
|
||||
Accept(RegExpRoot l) { l.isRelevant() }
|
||||
|
||||
Reference in New Issue
Block a user