+2021-07-14 Paul Eggert <eggert@cs.ucla.edu>
+
+ regex: fix shell quoting problem in configuration
+ * m4/regex.m4 (gl_REGEX): Fix quoting problems.
+ These C programs are put into unquoted here-documents,
+ so $ and \ need to be quoted.
+
2021-07-08 Paul Eggert <eggert@cs.ucla.edu>
select: port better to MinGW
-# serial 71
+# serial 72
# Copyright (C) 1996-2001, 2003-2021 Free Software Foundation, Inc.
#
& ~RE_CONTEXT_INVALID_DUP
& ~RE_NO_EMPTY_RANGES);
memset (®ex, 0, sizeof regex);
- s = re_compile_pattern ("[[:alnum:]_-]\\\\+$", 16, ®ex);
+ s = re_compile_pattern ("[[:alnum:]_-]\\\\+\$", 16, ®ex);
if (s)
result |= 32;
else
back reference. */
re_set_syntax (RE_SYNTAX_POSIX_EGREP);
memset (®ex, 0, sizeof regex);
- s = re_compile_pattern ("0|()0|\\1|0", 10, ®ex);
+ s = re_compile_pattern ("0|()0|\\\\1|0", 10, ®ex);
if (!s)
result |= 64;
else