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 96df14d commit 0e59bdfCopy full SHA for 0e59bdf
Sources/_StringProcessing/Regex/Match.swift
@@ -191,7 +191,6 @@ extension String {
191
extension RegexComponent {
192
public static func ~=(regex: Self, input: String) -> Bool {
193
input.wholeMatch(of: regex) != nil
194
- try? r.regex.wholeMatch(in: self)
195
}
196
197
public static func ~=(regex: Self, input: Substring) -> Bool {
0 commit comments