Skip to content

Commit

Permalink
Merge pull request shaojiankui#42 from zchenglong/master
Browse files Browse the repository at this point in the history
验证IP地址有效性错误修改
  • Loading branch information
shaojiankui authored Mar 27, 2018
2 parents 8f264d5 + 3b007b5 commit ed8de9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion JKCategories/Foundation/NSString/NSString+JKNormalRegex.m
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ - (BOOL)jk_isIPAddress{
BOOL rc = [pre evaluateWithObject:self];

if (rc) {
NSArray *componds = [self componentsSeparatedByString:@","];
NSArray *componds = [self componentsSeparatedByString:@"."];

BOOL v = YES;
for (NSString *s in componds) {
Expand Down

0 comments on commit ed8de9d

Please sign in to comment.