We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db44c1b commit 835b966Copy full SHA for 835b966
1 file changed
Source/Protocol/Reusable.swift
@@ -53,7 +53,7 @@ internal extension String {
53
54
internal func matches(of pattern: String) -> [String] {
55
let regex = try? NSRegularExpression(pattern: pattern, options: .caseInsensitive)
56
- #if swift(>=4)
+ #if swift(>=3.2)
57
let fullText = NSRange(location: 0, length: count)
58
#else
59
let fullText = NSRange(location: 0, length: characters.count)
0 commit comments