File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Sources/_StringProcessing/Regex Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -189,11 +189,11 @@ extension BidirectionalCollection where SubSequence == Substring {
189
189
190
190
@available ( SwiftStdlib 5 . 7 , * )
191
191
extension RegexComponent {
192
- /* public*/ static func ~= ( regex: Self , input: String ) -> Bool {
192
+ public static func ~= ( regex: Self , input: String ) -> Bool {
193
193
input. wholeMatch ( of: regex) != nil
194
194
}
195
195
196
- /* public*/ static func ~= ( regex: Self , input: Substring ) -> Bool {
196
+ public static func ~= ( regex: Self , input: Substring ) -> Bool {
197
197
input. wholeMatch ( of: regex) != nil
198
198
}
199
199
}
Original file line number Diff line number Diff line change 10
10
//===----------------------------------------------------------------------===//
11
11
12
12
import XCTest
13
- @ testable import _StringProcessing
13
+ import _StringProcessing
14
14
import RegexBuilder
15
15
16
16
@available ( SwiftStdlib 5 . 7 , * )
You can’t perform that action at this time.
0 commit comments