| /posix/ |
| A D | bug-regex8.c | 30 struct re_pattern_buffer regex; in main() local 34 memset (®ex, '\0', sizeof (regex)); in main() 36 s = re_compile_pattern ("xy$", 3, ®ex); in main() 43 match[0] = re_match_2(®ex,"xyz",3,NULL,0,0,NULL,2); in main() 45 free (regex.buffer); in main() 46 memset (®ex, '\0', sizeof (regex)); in main() 48 s = re_compile_pattern ("xy\\>", 4, ®ex); in main() 55 match[1] = re_search_2(®ex,"xyz",3,NULL,0,0,2,NULL,2); in main() 57 free (regex.buffer); in main() 58 memset (®ex, '\0', sizeof (regex)); in main() [all …]
|
| A D | bug-regex4.c | 27 struct re_pattern_buffer regex; in main() local 32 memset (®ex, '\0', sizeof (regex)); in main() 37 s = re_compile_pattern ("ab[cde]", 7, ®ex); in main() 45 match[0] = re_search_2 (®ex, "xyabez", 6, "", 0, 1, 5, NULL, 6); in main() 46 match[1] = re_search_2 (®ex, NULL, 0, "abc", 3, 0, 3, NULL, 3); in main() 47 match[2] = re_search_2 (®ex, "xya", 3, "bd", 2, 2, 3, NULL, 5); in main() 61 s = re_compile_pattern ("ab[cde]", 7, ®ex); in main() 69 match[0] = re_search_2 (®ex, "xyabez", 6, "", 0, 1, 5, NULL, 6); in main() 70 match[1] = re_search_2 (®ex, NULL, 0, "abc", 3, 0, 3, NULL, 3); in main() 71 match[2] = re_search_2 (®ex, "xya", 3, "bd", 2, 2, 3, NULL, 5); in main()
|
| A D | bug-regex7.c | 30 struct re_pattern_buffer regex; in main() local 36 memset (®ex, '\0', sizeof (regex)); in main() 39 s = re_compile_pattern ("a", 1, ®ex); in main() 47 match = re_search (®ex, "baobab", 6, 0, 6, ®s); in main() 61 free (regex.buffer); in main() 62 memset (®ex, '\0', sizeof (regex)); in main() 64 s = re_compile_pattern ("\\(\\(\\(a\\)\\)\\)", 13, ®ex); in main() 72 match = re_match (®ex, "apl", 3, 0, ®s); in main()
|
| A D | bug-regex1.c | 10 struct re_pattern_buffer regex; in main() local 16 memset (®ex, '\0', sizeof (regex)); in main() 25 s = re_compile_pattern ("[an\371]*n", 7, ®ex); in main() 33 match = re_match (®ex, "an", 2, 0, ®s); in main() 45 s = re_compile_pattern ("[an\371]*n", 7, ®ex); in main() 53 match = re_match (®ex, "an", 2, 0, ®s); in main() 65 s = re_compile_pattern ("[an\371]*n", 7, ®ex); in main() 73 match = re_match (®ex, "an", 2, 0, ®s); in main()
|
| A D | bug-regex10.c | 27 struct re_pattern_buffer regex; in main() local 34 memset (®ex, '\0', sizeof (regex)); in main() 35 s = re_compile_pattern ("[abc]*d", 7, ®ex); in main() 43 match = re_match (®ex, "foacabdxy", 9, 2, ®s); in main()
|
| A D | bug-regex28.c | 28 const char *regex; member 59 const char *re = re_compile_pattern (tests[i].regex, in do_test() 60 strlen (tests[i].regex), &r); in do_test()
|
| A D | bug-regex31.c | 23 regex_t regex; in main() local 24 int rc = regcomp (®ex, buf, REG_EXTENDED); in main()
|
| A D | bug-regex27.c | 25 const char *regex; member 46 if (regcomp (&r, tests[i].regex, tests[i].cflags)) in main()
|
| A D | PTESTS2C.sed | 2 # the input file, not in the usual alternate-choice regex meaning.
|
| A D | Makefile | 26 glob.h regex.h wordexp.h fnmatch.h \ 49 glob glob64 globfree globfree64 glob_pattern_p fnmatch regex \ 81 tst-gnuglob tst-gnuglob64 tst-regex bug-regex6 bug-regex7 \ 230 $(objpfx)tst-regex.out: $(gen-locales)
|
| A D | PTESTS | 51 ### GA113(2) GNU regex implements GA113(1) 317 ### GA145(2) GNU regex implements GA145(1) 338 ### GA147(2) GNU regex implements GA147(1)
|
| A D | tst-regex.input | 197 * lib/regex.c (WIDE_CHAR_SUPPORT): Define. 493 * configure.in: Use better regex for gettext. 919 * posix/regex.c: Define namespace macros only for _LIBC. 1485 * posix/regex.h: Likewise for REG_NOSYS. 1556 * posix/regex.h: Fix typo. 5554 * posix/regex.c: Rename __re_syntax_options back to 5720 * posix/regex.c: Define regerror really as __regerror. 5826 * iconv/gconv_db.c: Use __ protected regex functions. 5831 * posix/regex.h: Adopt prototypes for this. 10586 * posix/regex.h: Define REG_NOSYS. [all …]
|
| A D | BOOST.tests | 22 ; Tests taken from BOOST testsuite and adapted to glibc regex.
|
| A D | PCRE.tests | 3 # Tests taken from PCRE and modified to suit glibc regex.
|