diff options
-rw-r--r-- | Source/SPConstants.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/SPConstants.m b/Source/SPConstants.m index aba9b83e..1f27e5f1 100644 --- a/Source/SPConstants.m +++ b/Source/SPConstants.m @@ -436,8 +436,8 @@ NSString *SPBundleShellVariableSelectedTextRange = @"SP_SELECTED_TEXT NSString *SPBundleShellVariableUsedQueryForTable = @"SP_USED_QUERY_FOR_TABLE"; #define OWS @"\\s*" /* optional whitespace */ -// CURRENT_TIMESTAMP [ ( [n] ) ] -NSString *SPCurrentTimestampPattern = (@"^" OWS @"CURRENT_TIMESTAMP" @"(?:" OWS @"\\(" OWS @"(\\d*)" OWS @"\\)" @")?" OWS @"$"); +// CURRENT_TIMESTAMP [ ( [n] ) ] +NSString *SPCurrentTimestampPattern = (@"(?i)^" OWS @"CURRENT_TIMESTAMP" @"(?:" OWS @"\\(" OWS @"(\\d*)" OWS @"\\)" @")?" OWS @"$"); #undef OWS // URL scheme |