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