diff options
Diffstat (limited to 'Source')
-rw-r--r-- | Source/SPQueryFavoriteManager.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/SPQueryFavoriteManager.m b/Source/SPQueryFavoriteManager.m index a6f8941b..324a4850 100644 --- a/Source/SPQueryFavoriteManager.m +++ b/Source/SPQueryFavoriteManager.m @@ -535,7 +535,7 @@ } else if(object == favoriteTabTriggerTextField){ //Validate trigger - it only may contain alphnumeric characters - NSString *tabTrigger = [NSString stringWithString:[[favoriteTabTriggerTextField stringValue] stringByReplacingOccurrencesOfRegex:@"[^\\w0-9]" withString:@""]]; + NSString *tabTrigger = [NSString stringWithString:[[favoriteTabTriggerTextField stringValue] stringByReplacingOccurrencesOfRegex:@"(?i)[^[:L:]0-9]+" withString:@""]]; [favoriteTabTriggerTextField setStringValue:tabTrigger]; [[favorites objectAtIndex:[favoritesTableView selectedRow]] setObject:tabTrigger forKey:@"tabtrigger"]; [favoritesTableView reloadData]; |