File tree Expand file tree Collapse file tree 2 files changed +1
-1
lines changed
Sources/_StringProcessing/Algorithms/Algorithms Expand file tree Collapse file tree 2 files changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -210,6 +210,7 @@ extension RangeReplaceableCollection where SubSequence == Substring {
210
210
/// sequence matching `regex` to replace. Default is `Int.max`.
211
211
/// - Returns: A new collection in which all occurrences of subsequence
212
212
/// matching `regex` are replaced by `replacement`.
213
+ @_disfavoredOverload
213
214
@available ( SwiftStdlib 5 . 7 , * )
214
215
public func replacing< R: RegexComponent , Replacement: Collection > (
215
216
_ regex: R ,
Original file line number Diff line number Diff line change 11
11
12
12
import _StringProcessing
13
13
import XCTest
14
- //import RegexBuilder
15
14
16
15
// TODO: Protocol-powered testing
17
16
class RegexConsumerTests : XCTestCase {
You can’t perform that action at this time.
0 commit comments