You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
iflet match =NSDictionary.linearGradRegExpr?.firstMatch(in: stringValue, options:NSRegularExpression.MatchingOptions(rawValue:UInt(0)), range:NSMakeRange(0, stringValue.characters.count)),
132
+
iflet match =NSDictionary.linearGradRegExpr?.firstMatch(in: stringValue, options:NSRegularExpression.MatchingOptions(rawValue:UInt(0)), range:NSMakeRange(0, stringValue.count)),
133
133
match.numberOfRanges ==11{
134
134
135
135
// Starting color
@@ -152,7 +152,7 @@ extension NSDictionary {
152
152
153
153
// rgb/rgba color
154
154
if evaluatedObject is String,
155
-
let match =NSDictionary.colorRegExpr?.firstMatch(in: stringValue, options:NSRegularExpression.MatchingOptions(rawValue:UInt(0)), range:NSMakeRange(0, stringValue.characters.count)),
155
+
let match =NSDictionary.colorRegExpr?.firstMatch(in: stringValue, options:NSRegularExpression.MatchingOptions(rawValue:UInt(0)), range:NSMakeRange(0, stringValue.count)),
let match =NSDictionary.patternRegExpr?.firstMatch(in: stringValue, options:NSRegularExpression.MatchingOptions(rawValue:UInt(0)), range:NSMakeRange(0, stringValue.characters.count)),
169
+
let match =NSDictionary.patternRegExpr?.firstMatch(in: stringValue, options:NSRegularExpression.MatchingOptions(rawValue:UInt(0)), range:NSMakeRange(0, stringValue.count)),
let match =NSDictionary.imageRegExpr?.firstMatch(in: stringValue, options:NSRegularExpression.MatchingOptions(rawValue:UInt(0)), range:NSMakeRange(0, stringValue.characters.count)),
193
+
let match =NSDictionary.imageRegExpr?.firstMatch(in: stringValue, options:NSRegularExpression.MatchingOptions(rawValue:UInt(0)), range:NSMakeRange(0, stringValue.count)),
0 commit comments