mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-04-05 02:06:56 +00:00
Fix #1346: Quotes around filter steps
This commit is contained in:
parent
f4005871b4
commit
82c0152e04
@ -108,7 +108,7 @@ exports.parseFilter = function(filterString) {
|
||||
p = 0, // Current position in the filter string
|
||||
match;
|
||||
var whitespaceRegExp = /(\s+)/mg,
|
||||
operandRegExp = /((?:\+|\-)?)(?:(\[)|("(?:[^"])*")|('(?:[^'])*')|([^\s\[\]]+))/mg;
|
||||
operandRegExp = /((?:\+|\-)?)(?:(\[)|(?:"([^"]*)")|(?:'([^']*)')|([^\s\[\]]+))/mg;
|
||||
while(p < filterString.length) {
|
||||
// Skip any whitespace
|
||||
whitespaceRegExp.lastIndex = p;
|
||||
|
Loading…
x
Reference in New Issue
Block a user