Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #273 from wibobm/patch-1

Update NSString+TKCategory.m
  • Loading branch information...
commit 0b182a83b99ed0edf6e2be7face14fdc3ead84b0 2 parents 380adc9 + 40682f5
Devin Ross authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  src/TapkuLibrary/NSString+TKCategory.m
View
3  src/TapkuLibrary/NSString+TKCategory.m
@@ -200,8 +200,7 @@ - (NSString*) formattedPhoneNumberWithLastCharacterRemoved:(BOOL)deleteLastChar{
if((digits.length > 11 && leadingOne) || (digits.length > 10 && !leadingOne))
return digits;
-
- NSRegularExpressionOptions opt = NSRegularExpressionSearch;
+ NSStringCompareOptions opt = NSRegularExpressionSearch;
NSRange range = NSMakeRange(0, digits.length);
NSString *occurence, *replace;
Please sign in to comment.
Something went wrong with that request. Please try again.