(matching_regexp): Escape '\\'.
authorGerd Moellmann <gerd@gnu.org>
Fri, 16 Nov 2001 10:48:38 +0000 (10:48 +0000)
committerGerd Moellmann <gerd@gnu.org>
Fri, 16 Nov 2001 10:48:38 +0000 (10:48 +0000)
lib-src/ebrowse.c

index 34b02e3..69bd057 100644 (file)
@@ -2050,7 +2050,7 @@ matching_regexp ()
     {
       *--s = *--t;
 
-      if (*s == '"')
+      if (*s == '"' || *s == '\\')
         *--s = '\\';
     }