From 49fd1d93a6a8c2bd06e59fb19a61b1be2b4e827a Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Fri, 16 Nov 2001 10:49:50 +0000 Subject: [PATCH] (matching_regexp): Escape '\\'. --- lib-src/ChangeLog | 4 ++++ lib-src/ebrowse.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog index 8e7d8684a34..3237291f75b 100644 --- a/lib-src/ChangeLog +++ b/lib-src/ChangeLog @@ -1,3 +1,7 @@ +2001-11-16 Gerd Moellmann + + * ebrowse.c (matching_regexp): Escape '\\'. + 2001-10-20 Gerd Moellmann * Version 21.1 released. diff --git a/lib-src/ebrowse.c b/lib-src/ebrowse.c index 34b02e3df4f..69bd057a59c 100644 --- a/lib-src/ebrowse.c +++ b/lib-src/ebrowse.c @@ -2050,7 +2050,7 @@ matching_regexp () { *--s = *--t; - if (*s == '"') + if (*s == '"' || *s == '\\') *--s = '\\'; } -- 2.39.2