shithub: libmujs

Download patch

ref: d3a99000e0d502eeb659631c661fe4dccd24a452
parent: 789f30b58766186e4200feb001fab67635c7da86
author: Tor Andersson <tor.andersson@artifex.com>
date: Mon Jan 25 12:49:06 EST 2021

Bug 703371: Add '-' to list of quoted escape characters in regex parser.

--- a/regexp.c
+++ b/regexp.c
@@ -107,7 +107,7 @@
 	return 0;
 }
 
-#define ESCAPES "BbDdSsWw^$\\.*+?()[]{}|0123456789"
+#define ESCAPES "BbDdSsWw^$\\.*+?()[]{}|-0123456789"
 
 static int isunicodeletter(int c)
 {