Skip to content

Commit a393284

Browse files
committed
Revert "Internalize operator for swift CI purposes"
This reverts commit b15636a.
1 parent a6a8cd7 commit a393284

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Sources/_StringProcessing/Regex/Match.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,11 +189,11 @@ extension BidirectionalCollection where SubSequence == Substring {
189189

190190
@available(SwiftStdlib 5.7, *)
191191
extension RegexComponent {
192-
/*public*/ static func ~=(regex: Self, input: String) -> Bool {
192+
public static func ~=(regex: Self, input: String) -> Bool {
193193
input.wholeMatch(of: regex) != nil
194194
}
195195

196-
/*public*/ static func ~=(regex: Self, input: Substring) -> Bool {
196+
public static func ~=(regex: Self, input: Substring) -> Bool {
197197
input.wholeMatch(of: regex) != nil
198198
}
199199
}

Tests/RegexBuilderTests/AlgorithmsTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
//===----------------------------------------------------------------------===//
1111

1212
import XCTest
13-
@testable import _StringProcessing
13+
import _StringProcessing
1414
import RegexBuilder
1515

1616
@available(SwiftStdlib 5.7, *)

0 commit comments

Comments
 (0)