From 49d39984d9b0ed933c808bfe68f14f4ffeb131d6 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Thu, 8 May 2014 07:07:08 -0400 Subject: [PATCH] Regex - Regular expressions are now enabled by default. --- ChangeLog | 1 + NEWS | 1 + src/Config.cpp | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index b50c2a5cc..edec3b960 100644 --- a/ChangeLog +++ b/ChangeLog @@ -70,6 +70,7 @@ - Removed debugging code. - Added details in debug mode, for unrecognized data (thanks to Kosta H). - Removed unused 'patterns' configuration variable. +- Regular expressions are now enabled by default. ------ current release --------------------------- diff --git a/NEWS b/NEWS index e5eefcb59..c03b83d91 100644 --- a/NEWS +++ b/NEWS @@ -7,6 +7,7 @@ New Features in taskwarrior 2.4.0 - Better handling for deletion of recurring tasks. - New virtual tags: YESTERDAY, TOMORROW, READY, PENDING, COMPLETED, DELETED. - The '_get' command properly uses exit codes. + - Regular expressions are now enabled by default. New commands in taskwarrior 2.4.0 diff --git a/src/Config.cpp b/src/Config.cpp index be5758238..390522203 100644 --- a/src/Config.cpp +++ b/src/Config.cpp @@ -95,7 +95,7 @@ std::string Config::_defaults = "recurrence.limit=1 # Number of future recurring pending tasks\n" "undo.style=side # Undo style - can be 'side', or 'diff'\n" "burndown.bias=0.666 # Weighted mean bias toward recent data\n" - "regex=no # Assume all search/filter strings are regexes\n" + "regex=yes # Assume all search/filter strings are regexes\n" "xterm.title=no # Sets xterm title for some commands\n" "expressions=infix # Prefer infix over postfix expressions\n" "dom=on # Support DOM access\n"