diff options
Diffstat (limited to 'Source/SPNarrowDownCompletion.m')
-rw-r--r-- | Source/SPNarrowDownCompletion.m | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/SPNarrowDownCompletion.m b/Source/SPNarrowDownCompletion.m index c34bce52..487b8284 100644 --- a/Source/SPNarrowDownCompletion.m +++ b/Source/SPNarrowDownCompletion.m @@ -635,11 +635,11 @@ c = [[self filterString] characterAtIndex:i]; if(c != '`') { if(c == '.') - [fuzzyRegexp appendString:[NSString stringWithFormat:@".*?%@",SPUniqueSchemaDelimiter]]; + [fuzzyRegexp appendFormat:@".*?%@",SPUniqueSchemaDelimiter]; else if (c == '(' || c == ')' || c == '[' || c == ']' || c == '{' || c == '}') - [fuzzyRegexp appendString:[NSString stringWithFormat:@".*?\\%c",c]]; + [fuzzyRegexp appendFormat:@".*?\\%c",c]; else - [fuzzyRegexp appendString:[NSString stringWithFormat:@".*?%c",c]]; + [fuzzyRegexp appendFormat:@".*?%c",c]; } } |