Lines Matching refs:regex
2005 --without-included-regex don't compile regex; this is the default on
7643 # 'file_magic [[regex]]' -- check by looking for files in library path
7644 # which responds to the $file_magic_cmd with a given extended regex.
65762 # Assume we'll default to using the included regex.c.
65765 # However, if the system regex support is good enough that it passes the
65766 # the following run test, then default to *not* using the included regex.c.
65768 # regex.c. The first failing regular expression is from `Spencer ere
65787 #include <regex.h>
65791 static struct re_pattern_buffer regex;
65795 memset (®ex, 0, sizeof (regex));
65796 [s = re_compile_pattern ("a[[:]:]]b\n", 9, ®ex);]
65802 memset (®ex, 0, sizeof (regex));
65803 s = re_compile_pattern ("{1", 2, ®ex);
65810 memset (®ex, 0, sizeof (regex));
65811 s = re_compile_pattern ("[[an\371]]*n", 7, ®ex);
65816 if (re_match (®ex, "an", 2, 0, ®s) != 2)
65819 memset (®ex, 0, sizeof (regex));
65820 s = re_compile_pattern ("x", 1, ®ex);
65824 /* The version of regex.c in e.g. GNU libc-2.2.93 didn't
65826 if (re_search (®ex, "wxy", 3, 2, -2, ®s) != 1)
65876 test -n "libgrep/regex.c" || { { $as_echo "$as_me:$LINENO: error: missing argument" >&5
65882 # Check whether --with-included-regex was given.
65890 LIBGREPOBJS="$LIBGREPOBJS regex.$ac_objext"