mirror of
https://github.com/github/codeql.git
synced 2026-05-03 12:45:27 +02:00
Javascript: Autoformat.
This commit is contained in:
@@ -14,9 +14,10 @@
|
||||
import javascript
|
||||
|
||||
from RegExpNegativeLookahead neg, RegExpGroup grp, RegExpBackRef back
|
||||
where grp.getParent+() = neg and
|
||||
grp = back.getGroup() and
|
||||
not back.getParent+() = neg
|
||||
select back, "This back reference always matches the empty string, since it refers to $@, which is contained in $@.",
|
||||
grp, "this capture group",
|
||||
neg, "a negative lookahead assertion"
|
||||
where
|
||||
grp.getParent+() = neg and
|
||||
grp = back.getGroup() and
|
||||
not back.getParent+() = neg
|
||||
select back,
|
||||
"This back reference always matches the empty string, since it refers to $@, which is contained in $@.",
|
||||
grp, "this capture group", neg, "a negative lookahead assertion"
|
||||
|
||||
Reference in New Issue
Block a user