chiark / gitweb /
5d727af26af866e33ab3a4b2dbb3d5268dbd0e70
[pcre3.git] / testdata / testinput12
1 /-- This test is run only when JIT support is available. It checks for a
2 successful and an unsuccessful JIT compile and save and restore behaviour,
3 and a couple of things that are different with JIT. --/
4
5 /abc/S+I
6
7 /(?(?C1)(?=a)a)/S+I
8
9 /(?(?C1)(?=a)a)/S!+I
10
11 /abc/S+I>testsavedregex
12
13 <testsavedregex
14     abc
15
16 /a*/SI
17
18 /(?(R)a*(?1)|((?R))b)/S+
19     aaaabcde
20     
21 /-- Test various compile modes --/ 
22     
23 /abcd/S++
24     abcd
25     xyz  
26
27 /abcd/S+
28     abcd
29     ab\P
30     ab\P\P
31     xyz
32
33 /abcd/S++
34     abcd
35     ab\P
36     ab\P\P
37     xyz
38
39 /abcd/S++1
40     abcd
41     ab\P
42     ab\P\P
43     xyz
44     xyz\P
45
46 /abcd/S++2
47     abcd
48     ab\P
49     ab\P\P
50     xyz
51
52 /abcd/S++3
53     abcd
54     ab\P
55     ab\P\P
56     xyz
57
58 /abcd/S++4
59     abcd
60     ab\P
61     ab\P\P
62     xyz
63
64 /abcd/S++5
65     abcd
66     ab\P
67     ab\P\P
68     xyz
69
70 /abcd/S++6
71     abcd
72     ab\P
73     ab\P\P
74     xyz
75
76 /abcd/S++7
77     abcd
78     ab\P
79     ab\P\P
80     xyz
81     
82 /abcd/S++2I 
83
84 /(*NO_START_OPT)a(*:m)b/KS++
85     a
86
87 /^12345678abcd/mS++
88     12345678abcd
89
90 /-- End of testinput12 --/