summaryrefslogtreecommitdiffstats
path: root/ChangeLog
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2010-01-13 15:25:11 -0800
committerKaz Kylheku <kaz@kylheku.com>2010-01-13 15:25:11 -0800
commit56cfdc348955495dbd11fc70fb7ac04a8bba1f71 (patch)
treeee7f0d7c44782243800dafc7605d588216d46755 /ChangeLog
parent5c111d0e415db7bc0bfa236b08ae6d620e898e92 (diff)
downloadtxr-56cfdc348955495dbd11fc70fb7ac04a8bba1f71.tar.gz
txr-56cfdc348955495dbd11fc70fb7ac04a8bba1f71.tar.bz2
txr-56cfdc348955495dbd11fc70fb7ac04a8bba1f71.zip
Dynamically determine which regex implementation to use:
NFA or derivatives. The default behavior is NFA, with derivatives used if the regular expression contains uses of complement or intersection. The --dv-regex option forces derivatives always.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog17
1 files changed, 17 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 8f34644a..1a134673 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,22 @@
2010-01-13 Kaz Kylheku <kkylheku@gmail.com>
+ Dynamically determine which regex implementation to use:
+ NFA or derivatives. The default behavior is NFA, with
+ derivatives used if the regular expression contains
+ uses of complement or intersection. The --dv-regex
+ option forces derivatives always.
+
+ * regex.c (opt_derivative_regex): Default value is 0 now.
+ (regex_requires_dv): New function.
+ (regex_compile): If regex_requires_dv function reports
+ true, or if the opt_derivative_regex flag is true,
+ treat the regex with the derivative-based implementation.
+
+ * txr.c (txr_main): Implemented --dv-regex option
+ to set the opt_derivative_regex flag.
+
+2010-01-13 Kaz Kylheku <kkylheku@gmail.com>
+
* lib.h (c_num): Remove redundant declaration.
2010-01-13 Kaz Kylheku <kkylheku@gmail.com>