JS: Check for [^.]

This commit is contained in:
Asger F
2019-11-08 10:04:22 +00:00
parent a7a90b4b7e
commit 4d1f7836f2

View File

@@ -18,6 +18,7 @@ predicate isDotConstant(RegExpTerm term) {
or
exists(RegExpCharacterClass cls |
term = cls and
not cls.isInverted() and
cls.getNumChild() = 1 and
cls.getAChild().(RegExpConstant).getValue() = "."
)