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 {
9898 pos =
9999 rank [ index ] ( int p |
100100 ( 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
102102 // char-set delimiters.
103103 not exists ( int x , int y |
104104 this .posixStyleNamedCharacterProperty ( x , y , _) and pos >= x and pos < y
@@ -121,7 +121,9 @@ abstract class RegExp extends Expr {
121121 )
122122 }
123123
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+ */
125127 predicate charSet ( int start , int end ) {
126128 exists ( int innerStart , int innerEnd |
127129 this .charSetStart ( start , innerStart ) and
You can’t perform that action at this time.
0 commit comments