please i need your help. Here i wrote the part of code, and can not find, where is my mistake:
NSString *inputString =@"11111111111";
NSError *error = nil;
NSRegularExpression *regExpression = [NSRegularExpression regularExpressionWithPattern:@"[[a-zA-Z]]*"
options:NSRegularExpressionCaseInsensitive error:&error];
NSUInteger numberOfMatches = [regExpression numberOfMatchesInString:inputString
options:0
range:NSMakeRange(0, [inputString length])];
NSLog(@"numberOfMatches=%d", numberOfMatches);
// here shows "numberOfMatches = 7"
But checked here the result, the answer is incorrect ! http://gskinner.com/RegExr/
So question: where is my mistake ?