version 1.1.1.1, 2012/02/21 23:05:52
|
version 1.1.1.3, 2012/10/09 09:19:18
|
Line 1
|
Line 1
|
/a(*:a\x{1234}b)/8K | /-- This test is run only when JIT support is available. It checks for a |
abc | successful and an unsuccessful JIT compile and save and restore behaviour, |
0: a | and a couple of things that are different with JIT. --/ |
MK: a\x{1234}b | |
|
|
/a(*:a£b)/8K | /abc/S+I |
| Capturing subpattern count = 0 |
| No options |
| First char = 'a' |
| Need char = 'c' |
| Subject length lower bound = 3 |
| No set of starting bytes |
| JIT study was successful |
| |
| /ab(*THEN)/S+I |
| Capturing subpattern count = 0 |
| No options |
| First char = 'a' |
| Need char = 'b' |
| Subject length lower bound = 2 |
| No set of starting bytes |
| JIT study was not successful |
| |
| /abc/S+I>testsavedregex |
| Capturing subpattern count = 0 |
| No options |
| First char = 'a' |
| Need char = 'c' |
| Subject length lower bound = 3 |
| No set of starting bytes |
| JIT study was successful |
| Compiled pattern written to testsavedregex |
| Study data written to testsavedregex |
| |
| <testsavedregex |
| Compiled pattern loaded from testsavedregex |
| Study data loaded from testsavedregex |
abc |
abc |
0: a | 0: abc |
MK: a£b | |
| /a*/SI |
| Capturing subpattern count = 0 |
| No options |
| No first char |
| No need char |
| Study returned NULL |
| |
| /(?(R)a*(?1)|((?R))b)/S+ |
| aaaabcde |
| Error -27 (JIT stack limit reached) |
| |
| /-- Test various compile modes --/ |
| |
| /abcd/S++ |
| abcd |
| 0: abcd (JIT) |
| xyz |
| No match (JIT) |
| |
| /abcd/S+ |
| abcd |
| 0: abcd (JIT) |
| ab\P |
| Partial match: ab (JIT) |
| ab\P\P |
| Partial match: ab (JIT) |
| xyz |
| No match (JIT) |
| |
| /abcd/S++ |
| abcd |
| 0: abcd (JIT) |
| ab\P |
| Partial match: ab (JIT) |
| ab\P\P |
| Partial match: ab (JIT) |
| xyz |
| No match (JIT) |
| |
| /abcd/S++1 |
| abcd |
| 0: abcd (JIT) |
| ab\P |
| Partial match: ab |
| ab\P\P |
| Partial match: ab |
| xyz |
| No match (JIT) |
| xyz\P |
| No match |
| |
| /abcd/S++2 |
| abcd |
| 0: abcd |
| ab\P |
| Partial match: ab (JIT) |
| ab\P\P |
| Partial match: ab |
| xyz |
| No match |
| |
| /abcd/S++3 |
| abcd |
| 0: abcd (JIT) |
| ab\P |
| Partial match: ab (JIT) |
| ab\P\P |
| Partial match: ab |
| xyz |
| No match (JIT) |
| |
| /abcd/S++4 |
| abcd |
| 0: abcd |
| ab\P |
| Partial match: ab |
| ab\P\P |
| Partial match: ab (JIT) |
| xyz |
| No match |
| |
| /abcd/S++5 |
| abcd |
| 0: abcd (JIT) |
| ab\P |
| Partial match: ab |
| ab\P\P |
| Partial match: ab (JIT) |
| xyz |
| No match (JIT) |
| |
| /abcd/S++6 |
| abcd |
| 0: abcd |
| ab\P |
| Partial match: ab (JIT) |
| ab\P\P |
| Partial match: ab (JIT) |
| xyz |
| No match |
| |
| /abcd/S++7 |
| abcd |
| 0: abcd (JIT) |
| ab\P |
| Partial match: ab (JIT) |
| ab\P\P |
| Partial match: ab (JIT) |
| xyz |
| No match (JIT) |
| |
| /(*NO_START_OPT)a(*:m)b/KS++ |
| a |
| No match, mark = m (JIT) |
|
|
/-- End of testinput12 --/ |
/-- End of testinput12 --/ |