We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a721e39 commit 61783f0Copy full SHA for 61783f0
lib/app/utils/taskfunctions/taskparser.dart
@@ -5,8 +5,6 @@ import 'package:taskwarrior/app/models/models.dart';
5
6
import 'package:uuid/uuid.dart';
7
8
-
9
10
class Tag {
11
const Tag(this.tag);
12
@@ -67,10 +65,8 @@ Parser descriptionWordPrimitive() => wordPrimitive();
67
65
68
66
final add = (epsilon() & endOfInput()) |
69
(tagPrimitive() | attributePrimitive() | descriptionWordPrimitive())
70
- .separatedBy(
71
- char(' '),
72
- includeSeparators: false,
73
- );
+ .starSeparated(char(' '))
+ .map((result) => result.elements);
74
75
Task taskParser(String task) {
76
var now = DateTime.now().toUtc();
0 commit comments