Skip to content

Commit 0e59bdf

Browse files
authored
Update Sources/_StringProcessing/Regex/Match.swift
1 parent 96df14d commit 0e59bdf

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Sources/_StringProcessing/Regex/Match.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,6 @@ extension String {
191191
extension RegexComponent {
192192
public static func ~=(regex: Self, input: String) -> Bool {
193193
input.wholeMatch(of: regex) != nil
194-
try? r.regex.wholeMatch(in: self)
195194
}
196195

197196
public static func ~=(regex: Self, input: Substring) -> Bool {

0 commit comments

Comments
 (0)