mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Expressions
- Command line arguments are now handled a little differently. Each argument is subjected to further splitting, to break up expressions early in the process, prior to categorization. - Patterns are now treated as quoted string, where the quote character is /.
This commit is contained in:
parent
087cf7e5ed
commit
e0abee7f9f
4 changed files with 66 additions and 21 deletions
|
@ -230,7 +230,9 @@ bool DOM::is_primitive (const std::string& input)
|
|||
|
||||
// String?
|
||||
Nibbler n (input);
|
||||
if (n.getQuoted ('"', s) && n.depleted ())
|
||||
if ((n.getQuoted ('"', s) ||
|
||||
n.getQuoted ('\'', s)) &&
|
||||
n.depleted ())
|
||||
return true;
|
||||
|
||||
// Number?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue