File tree Expand file tree Collapse file tree
swift/ql/test/library-tests/regex Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,9 +17,9 @@ struct Regex<Output> : RegexComponent {
1717
1818 init ( _ pattern: String ) throws where Output == AnyRegexOutput { }
1919
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 }
2323
2424 func firstMatch( in string: String ) throws -> Regex < Output > . Match ? { return nil }
2525 func prefixMatch( in string: String ) throws -> Regex < Output > . Match ? { return nil }
You can’t perform that action at this time.
0 commit comments