File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
swift/ql/test/library-tests/regex Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -17,9 +17,9 @@ struct Regex<Output> : RegexComponent {
17
17
18
18
init ( _ pattern: String ) throws where Output == AnyRegexOutput { }
19
19
20
- func ignoresCase( _ ignoresCase: Bool = true ) -> Regex < Regex < Output > . RegexOutput > { return self }
21
- func dotMatchesNewlines( _ dotMatchesNewlines: Bool = true ) -> Regex < Regex < Output > . RegexOutput > { return self }
22
- func anchorsMatchLineEndings( _ matchLineEndings: Bool = true ) -> Regex < Regex < Output > . RegexOutput > { return self }
20
+ func ignoresCase( _ ignoresCase: Bool = true ) -> Regex < Regex < Output > . RegexOutput > { return 0 as! Self }
21
+ func dotMatchesNewlines( _ dotMatchesNewlines: Bool = true ) -> Regex < Regex < Output > . RegexOutput > { return 0 as! Self }
22
+ func anchorsMatchLineEndings( _ matchLineEndings: Bool = true ) -> Regex < Regex < Output > . RegexOutput > { return 0 as! Self }
23
23
24
24
func firstMatch( in string: String ) throws -> Regex < Output > . Match ? { return nil }
25
25
func prefixMatch( in string: String ) throws -> Regex < Output > . Match ? { return nil }
You can’t perform that action at this time.
0 commit comments