regex-quote: Fix creation of POSIX extended regular expressions.
[gnulib.git] / lib / regex-quote.c
index 9e43733..361cff0 100644 (file)
@@ -29,7 +29,7 @@
 static const char bre_special[] = "$^.*[]\\";
 
 /* Characters that are special in an ERE.  */
-static const char ere_special[] = "$^.*[]\\+?()";
+static const char ere_special[] = "$^.*[]\\+?{}()|";
 
 size_t
 regex_quote_length (const char *string, int cflags)