Skip to content

Commit 96f1813

Browse files
author
Eric Wu
committed
修复bug
1 parent 986eccc commit 96f1813

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

CRBoostSwift/Classes/CRMath.swift

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -518,9 +518,6 @@ public func CRIsMatch(pattern: String, text: String?) -> Bool {
518518
if CRIsNullOrEmpty(text: text) {
519519
return false
520520
}
521-
if CRIsNullOrEmpty(text: pattern) {
522-
return true
523-
}
524521
if CRMatch(pattern: pattern, text: text) == nil {
525522
return false
526523
}

0 commit comments

Comments
 (0)