1 # This set of tests is run only with the 8-bit library. It tests the POSIX 2 # interface, which is supported only with the 8-bit library. This test should 3 # not be run with JIT (which is not available for the POSIX interface). 4 5 #forbid_utf 6 #pattern posix 7 8 # Test invalid options 9 10 /abc/auto_callout 11 12 /abc/ 13 abc\=find_limits 14 15 /abc/ 16 abc\=partial_hard 17 18 # Real tests 19 20 /abc/ 21 abc 22 23 /^abc|def/ 24 abcdef 25 abcdef\=notbol 26 27 /.*((abc)$|(def))/ 28 defabc 29 defabc\=noteol 30 31 /the quick brown fox/ 32 the quick brown fox 33 \= Expect no match 34 The Quick Brown Fox 35 36 /the quick brown fox/i 37 the quick brown fox 38 The Quick Brown Fox 39 40 /(*LF)abc.def/ 41 \= Expect no match 42 abc\ndef 43 44 /(*LF)abc$/ 45 abc 46 abc\n 47 48 /(abc)\2/ 49 50 /(abc\1)/ 51 \= Expect no match 52 abc 53 54 /a*(b+)(z)(z)/ 55 aaaabbbbzzzz 56 aaaabbbbzzzz\=ovector=0 57 aaaabbbbzzzz\=ovector=1 58 aaaabbbbzzzz\=ovector=2 59 60 /(*ANY)ab.cd/ 61 ab-cd 62 ab=cd 63 \= Expect no match 64 ab\ncd 65 66 /ab.cd/s 67 ab-cd 68 ab=cd 69 ab\ncd 70 71 /a(b)c/posix_nosub 72 abc 73 74 /a(?P<name>b)c/posix_nosub 75 abc 76 77 /(a)\1/posix_nosub 78 zaay 79 80 /a?|b?/ 81 abc 82 \= Expect no match 83 ddd\=notempty 84 85 /\w+A/ 86 CDAAAAB 87 88 /\w+A/ungreedy 89 CDAAAAB 90 91 /\Biss\B/I,aftertext 92 Mississippi 93 94 /abc/\ 95 96 "(?(?C)" 97 98 "(?(?C))" 99 100 /abcd/substitute_extended 101 102 /\[A]{1000000}**/expand,regerror_buffsize=31 103 104 /\[A]{1000000}**/expand,regerror_buffsize=32 105 106 # End of testdata/testinput18 107