aboutsummaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
Diffstat (limited to 'Source')
-rw-r--r--Source/SPTableContent.m5
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/SPTableContent.m b/Source/SPTableContent.m
index 8012caa3..bb7754cc 100644
--- a/Source/SPTableContent.m
+++ b/Source/SPTableContent.m
@@ -4225,7 +4225,7 @@
BOOL lookInAllFields = NO;
- NSString *re1 = @"^\\s*(<|>|!?=)\\s*(.*?)\\s*$";
+ NSString *re1 = @"^\\s*(<[=>]?|>=?|!?=|≠|≤|≥)\\s*(.*?)\\s*$";
NSString *re2 = @"(?i)^\\s*(.*)\\s+(.*?)\\s*$";
NSCharacterSet *whiteSpaceCharSet = [NSCharacterSet whitespaceAndNewlineCharacterSet];
@@ -4265,6 +4265,9 @@
else
filterCell = NSArrayObjectAtIndex([filterCellData objectForKey:@"filter"], i);
}
+ filterCell = [filterCell stringByReplacingOccurrencesOfRegex:@"^\\s*≠" withString:@"!="];
+ filterCell = [filterCell stringByReplacingOccurrencesOfRegex:@"^\\s*≤" withString:@"<="];
+ filterCell = [filterCell stringByReplacingOccurrencesOfRegex:@"^\\s*≥" withString:@">="];
if([filterCell length]) {
if(numberOfValues)