- Added feature #158, regular expression support for filters and substitutions.
- Added unit tests to att.t and filter.t.
- Updated docs.
This commit is contained in:
Paul Beckingham
2010-11-26 17:26:03 -05:00
parent 09ce815fc5
commit fe65d28f99
10 changed files with 392 additions and 72 deletions

View File

@@ -315,6 +315,26 @@ non-exact match:
This will remove the second annotation - the first non-exact match.
.TP
.B Q: Does task support searching using regular expressions?
Yes, taskwarrior supports IEEE Std 1003.2 (POSIX.2) regular expressions, but not
by default. You must enable this feature with the following command:
$ task config regex on
Once enabled, all searches are considered regular expressions, for example:
$ task list ^the
will list all tasks whose description or annotations start with "the".
Substitutions also support regular expressions:
$ task 1 /^the/The/
Note that regular expressions work in conjunction with the
.B search.case.sensitive
configuration setting.
.TP
.B Q: How can I help?
There are lots of ways. Here are some: