Lines Matching full:regex
1758 --enable-regex-tests enable regex matcher regression tests (default=yes)
1763 --without-included-regex
1764 don't compile regex; this is the default on systems
18880 # Check whether --with-included-regex was given.
18890 # If the system regex support is good enough that it passes the
18891 # following run test, then default to *not* using the included regex.c.
18893 # regex.c.
18913 #include <regex.h>
18918 static struct re_pattern_buffer regex;
18937 memset (®ex, 0, sizeof regex);
18938 s = re_compile_pattern (pat, sizeof pat - 1, ®ex);
18941 if (re_search (®ex, data, sizeof data - 1,
18952 memset (®ex, 0, sizeof regex);
18953 s = re_compile_pattern ("a[^x]b", 6, ®ex);
18958 if (re_search (®ex, "a\nb", 3, 0, 3, ®s) != -1)
18964 memset (®ex, 0, sizeof regex);
18967 regex.translate = folded_chars;
18968 s = re_compile_pattern ("a[[:]:]]b\n", 11, ®ex);
18974 memset (®ex, 0, sizeof regex);
18975 s = re_compile_pattern ("{1", 2, ®ex);
18982 memset (®ex, 0, sizeof regex);
18983 s = re_compile_pattern ("[an\371]*n", 7, ®ex);
18988 if (re_match (®ex, "an", 2, 0, ®s) != 2)
18991 memset (®ex, 0, sizeof regex);
18992 s = re_compile_pattern ("x", 1, ®ex);
18997 if (re_search (®ex, "wxy", 3, 2, -2, ®s) != 1)
19000 /* The version of regex.c in older versions of gnulib
19003 memset (®ex, 0, sizeof regex);
19004 s = re_compile_pattern ("x", 1, ®ex);
19008 if (re_search (®ex, "WXY", 3, 0, 3, ®s) < 0)
19017 memset (®ex, 0, sizeof regex);
19018 s = re_compile_pattern ("[[:alnum:]_-]\\\\+$", 16, ®ex);
19083 *) { { $as_echo "$as_me:$LINENO: error: Invalid value for --with-included-regex: $with_included_regex" >&5
19084 $as_echo "$as_me: error: Invalid value for --with-included-regex: $with_included_regex" >&2;}
19178 gl_LIBOBJS="$gl_LIBOBJS regex.$ac_objext"
27179 # Check whether --enable-regex-tests was given.