Annotation of embedaddon/pcre/testdata/testoutput12, revision 1.1.1.4
1.1.1.2 misho 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: Capturing subpattern count = 0
7: No options
8: First char = 'a'
9: Need char = 'c'
10: Subject length lower bound = 3
11: No set of starting bytes
12: JIT study was successful
13:
1.1.1.4 ! misho 14: /(?(?C1)(?=a)a)/S+I
1.1.1.2 misho 15: Capturing subpattern count = 0
16: No options
17: First char = 'a'
1.1.1.4 ! misho 18: No need char
! 19: Study returned NULL
! 20: JIT study was not successful
! 21:
! 22: /(?(?C1)(?=a)a)/S!+I
! 23: Capturing subpattern count = 0
! 24: No options
! 25: First char = 'a'
! 26: No need char
! 27: Subject length lower bound = -1
1.1.1.2 misho 28: No set of starting bytes
29: JIT study was not successful
1.1 misho 30:
1.1.1.2 misho 31: /abc/S+I>testsavedregex
32: Capturing subpattern count = 0
33: No options
34: First char = 'a'
35: Need char = 'c'
36: Subject length lower bound = 3
37: No set of starting bytes
38: JIT study was successful
39: Compiled pattern written to testsavedregex
40: Study data written to testsavedregex
41:
42: <testsavedregex
43: Compiled pattern loaded from testsavedregex
44: Study data loaded from testsavedregex
1.1 misho 45: abc
1.1.1.2 misho 46: 0: abc
47:
48: /a*/SI
49: Capturing subpattern count = 0
50: No options
51: No first char
52: No need char
53: Study returned NULL
54:
55: /(?(R)a*(?1)|((?R))b)/S+
56: aaaabcde
57: Error -27 (JIT stack limit reached)
1.1.1.3 misho 58:
59: /-- Test various compile modes --/
60:
61: /abcd/S++
62: abcd
63: 0: abcd (JIT)
64: xyz
65: No match (JIT)
66:
67: /abcd/S+
68: abcd
69: 0: abcd (JIT)
70: ab\P
71: Partial match: ab (JIT)
72: ab\P\P
73: Partial match: ab (JIT)
74: xyz
75: No match (JIT)
76:
77: /abcd/S++
78: abcd
79: 0: abcd (JIT)
80: ab\P
81: Partial match: ab (JIT)
82: ab\P\P
83: Partial match: ab (JIT)
84: xyz
85: No match (JIT)
86:
87: /abcd/S++1
88: abcd
89: 0: abcd (JIT)
90: ab\P
91: Partial match: ab
92: ab\P\P
93: Partial match: ab
94: xyz
95: No match (JIT)
96: xyz\P
97: No match
98:
99: /abcd/S++2
100: abcd
101: 0: abcd
102: ab\P
103: Partial match: ab (JIT)
104: ab\P\P
105: Partial match: ab
106: xyz
107: No match
108:
109: /abcd/S++3
110: abcd
111: 0: abcd (JIT)
112: ab\P
113: Partial match: ab (JIT)
114: ab\P\P
115: Partial match: ab
116: xyz
117: No match (JIT)
118:
119: /abcd/S++4
120: abcd
121: 0: abcd
122: ab\P
123: Partial match: ab
124: ab\P\P
125: Partial match: ab (JIT)
126: xyz
127: No match
128:
129: /abcd/S++5
130: abcd
131: 0: abcd (JIT)
132: ab\P
133: Partial match: ab
134: ab\P\P
135: Partial match: ab (JIT)
136: xyz
137: No match (JIT)
138:
139: /abcd/S++6
140: abcd
141: 0: abcd
142: ab\P
143: Partial match: ab (JIT)
144: ab\P\P
145: Partial match: ab (JIT)
146: xyz
147: No match
148:
149: /abcd/S++7
150: abcd
151: 0: abcd (JIT)
152: ab\P
153: Partial match: ab (JIT)
154: ab\P\P
155: Partial match: ab (JIT)
156: xyz
157: No match (JIT)
1.1.1.4 ! misho 158:
! 159: /abcd/S++2I
! 160: Capturing subpattern count = 0
! 161: No options
! 162: First char = 'a'
! 163: Need char = 'd'
! 164: Subject length lower bound = 4
! 165: No set of starting bytes
! 166: JIT study was successful
1.1.1.3 misho 167:
168: /(*NO_START_OPT)a(*:m)b/KS++
169: a
170: No match, mark = m (JIT)
1.1 misho 171:
1.1.1.4 ! misho 172: /^12345678abcd/mS++
! 173: 12345678abcd
! 174: 0: 12345678abcd (JIT)
! 175:
1.1 misho 176: /-- End of testinput12 --/
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>