summaryrefslogtreecommitdiffstats
path: root/regex.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2015-04-19 10:34:28 -0700
committerKaz Kylheku <kaz@kylheku.com>2015-04-19 10:34:28 -0700
commite68b978b40c53b7fef21056c2d1c1dff0b6bb729 (patch)
tree840e5567f64ca21add4b26871383f72b0898c5ce /regex.c
parentf6d7a2ebaad679ff8db23b3e9aa6f5a724259f1b (diff)
downloadtxr-e68b978b40c53b7fef21056c2d1c1dff0b6bb729.tar.gz
txr-e68b978b40c53b7fef21056c2d1c1dff0b6bb729.tar.bz2
txr-e68b978b40c53b7fef21056c2d1c1dff0b6bb729.zip
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.
Diffstat (limited to 'regex.c')
0 files changed, 0 insertions, 0 deletions