mirror of
https://github.com/github/codeql.git
synced 2025-12-23 04:06:37 +01:00
support inverted char class and dot
This commit is contained in:
@@ -454,12 +454,11 @@ string intersect(InputSymbol c, InputSymbol d) {
|
||||
)
|
||||
or
|
||||
exists(RegExpCharacterClass cc | c = InvertedCharClass(cc) and result = chooseFromInverted(cc) |
|
||||
// TODO: Not done here - later commits will add more
|
||||
//d = Dot() and
|
||||
//not (result = "\n" or result = "\r")
|
||||
//or
|
||||
d = InvertedCharClass(cc)
|
||||
or
|
||||
d = Dot() and
|
||||
not (result = "\n" or result = "\r")
|
||||
or
|
||||
d = Any()
|
||||
)
|
||||
or
|
||||
|
||||
Reference in New Issue
Block a user