Open srv7 opened 1 month ago
seems Duplicated with https://github.com/SwifterSwift/SwifterSwift/issues/1154
overload your own ~= operator in your project can temporarily solve this
public extension String {
static func ~= (lhs: String, rhs: String) -> Bool {
return lhs.range(of: rhs, options: .regularExpression) != nil
}
}
Describe the bug
345 expected, but 123 was printed. even let x = "bjmc1-asdhjashdb", still 123