标签:style blog color sp for div log bs as
/** * 正则表达式匹配中文 */ - (BOOL)isRegexMatching:(NSString *)str; { NSString *regex = @"^[\u4E00-\u9FFF]+$"; return [[NSPredicate predicateWithFormat:@"SELF MATCHES %@", regex] evaluateWithObject:str]; }
标签:style blog color sp for div log bs as
原文地址:http://www.cnblogs.com/mgbert/p/4121279.html