From e68b978b40c53b7fef21056c2d1c1dff0b6bb729 Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Sun, 19 Apr 2015 10:34:28 -0700 Subject: Do not allow unrecognized escapes in regex. * parser.l (REGOP): New regex alias for matching all regex special characters. (grammar): Several rules for regex special characters merged together. New rule introduced to match a special character after a backslash, making it literal. The old rule which makes literal any character after a backslash now throws an error, unless version 105 comaptibility is selected. * txr.1: Documented this behavior change. --- ChangeLog | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 12d4babb..60472e7c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,17 @@ +2015-04-19 Kaz Kylheku + + Do not allow unrecognized escapes in regex. + + * parser.l (REGOP): New regex alias for matching all regex + special characters. + (grammar): Several rules for regex special characters merged + together. New rule introduced to match a special character + after a backslash, making it literal. The old rule which makes + literal any character after a backslash now throws an error, + unless version 105 comaptibility is selected. + + * txr.1: Documented this behavior change. + 2015-04-19 Kaz Kylheku Improvement in error reporting. -- cgit v1.2.3