File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
swift/ql/lib/codeql/swift/regex/internal Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ abstract class RegExp extends Expr {
98
98
pos =
99
99
rank [ index ] ( int p |
100
100
( this .nonEscapedCharAt ( p ) = "[" or this .nonEscapedCharAt ( p ) = "]" ) and
101
- // Brackets that art part of POSIX expressions should not count as
101
+ // Brackets that are part of POSIX expressions should not count as
102
102
// char-set delimiters.
103
103
not exists ( int x , int y |
104
104
this .posixStyleNamedCharacterProperty ( x , y , _) and pos >= x and pos < y
@@ -121,7 +121,9 @@ abstract class RegExp extends Expr {
121
121
)
122
122
}
123
123
124
- /** Whether there is a character class, between start (inclusive) and end (exclusive). */
124
+ /**
125
+ * Whether there is a character class, between start (inclusive) and end (exclusive).
126
+ */
125
127
predicate charSet ( int start , int end ) {
126
128
exists ( int innerStart , int innerEnd |
127
129
this .charSetStart ( start , innerStart ) and
You can’t perform that action at this time.
0 commit comments