projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
regex-quote: Fix creation of POSIX extended regular expressions.
[pspp]
/
lib
/
regex-quote.c
diff --git
a/lib/regex-quote.c
b/lib/regex-quote.c
index 9e43733b6b8a13efaa5e2a7a590227e1609ed112..361cff0770b9b369e9fcb88a0c4b05f04e269090 100644
(file)
--- a/
lib/regex-quote.c
+++ b/
lib/regex-quote.c
@@
-29,7
+29,7
@@
static const char bre_special[] = "$^.*[]\\";
/* Characters that are special in an ERE. */
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)
size_t
regex_quote_length (const char *string, int cflags)