Lines Matching refs:regex
6 dnl Usage: jm_INCLUDED_REGEX([lib/regex.c])
10 dnl Even packages that don't use regex.c can use this macro.
13 # Assume we'll default to using the included regex.c.
16 # However, if the system regex support is good enough that it passes the
17 # the following run test, then default to *not* using the included regex.c.
19 # regex.c. The first failing regular expression is from `Spencer ere
25 #include <regex.h>
29 static struct re_pattern_buffer regex;
33 [s = re_compile_pattern ("a[[:@:>@:]]b\n", 9, ®ex);]
39 s = re_compile_pattern ("{1", 2, ®ex);
46 s = re_compile_pattern ("[[an�]]*n", 7, ®ex);
51 if (re_match (®ex, "an", 2, 0, ®s) != 2)
69 AC_ARG_WITH(included-regex,
70 [ --without-included-regex don't compile regex; this is the default on
76 AC_LIBOBJ(regex)