- Added regex support to substirutions.
- Fixed bug that prevented 1.9.4 from shipping with regexes.  If the
  description is "aXXaaXXa", and the substitution is /XX/.../ then the
  first substitutions changes the length of the string to "a...aaXXa"
  and therefore invalidates the index for the second match, and makes
  this change: "a...a...Xa".  The fix is to keep a running 'skew' count
  of the difference in 'from' and 'to' length, to adjust the match
  indexes.
- Moved the helper deltaSubstitutions function into the Task object,
  which makes more sense.
- Cleaned up output composition for CmdAdd.
- Eliminated #ifdef FEATURE_REGEX.  They are here to stay.
This commit is contained in:
Paul Beckingham
2011-06-25 16:33:55 -04:00
parent 622e9c5e1e
commit b58438bdd4
11 changed files with 152 additions and 166 deletions

3
NEWS
View File

@@ -48,10 +48,13 @@ New configuration options in taskwarrior 2.0.0
- New 'expressions' enables/disables command line expression support.
- New 'json.array' determines whether 'query' command output is enclosed by
'[...]'.
- New 'regex' control determines whether substitutions use Regular Expressions
or simple text patterns.
Newly deprecated features in taskwarrior 2.0.0
- The 'next' configuration variable has been removed.
- Use of 'fg:' and 'bg:' attributes are deprecated.
---