Lines Matching refs:regex
22 [regcomp.c, regex.c, regex.h,
25 AC_ARG_WITH([included-regex],
26 [AC_HELP_STRING([--without-included-regex],
27 [don't compile regex; this is the default on
35 # If the system regex support is good enough that it passes the the
36 # following run test, then default to *not* using the included regex.c.
38 # regex.c. The first failing regular expression is from `Spencer ere
45 #include <regex.h>],
46 [[static struct re_pattern_buffer regex;
53 memset (®ex, 0, sizeof (regex));
54 s = re_compile_pattern ("a[:@:>@:]b\n", 9, ®ex);
60 memset (®ex, 0, sizeof (regex));
61 s = re_compile_pattern ("{1", 2, ®ex);
68 memset (®ex, 0, sizeof (regex));
69 s = re_compile_pattern ("[an\371]*n", 7, ®ex);
74 if (re_match (®ex, "an", 2, 0, ®s) != 2)
77 memset (®ex, 0, sizeof (regex));
78 s = re_compile_pattern ("x", 1, ®ex);
82 /* The version of regex.c in e.g. GNU libc-2.2.93 did not
84 if (re_search (®ex, "wxy", 3, 2, -2, ®s) != 1)
87 /* The version of regex.c in older versions of gnulib
90 memset (®ex, 0, sizeof (regex));
92 s = re_compile_pattern ("x", 1, ®ex);
96 if (re_search (®ex, "WXY", 3, 0, 3, ®s) < 0)
118 *) AC_MSG_ERROR([Invalid value for --with-included-regex: $with_included_regex])
123 AC_LIBOBJ([regex])
128 # Prerequisites of lib/regex.c and lib/regex_internal.c.