Created
February 23, 2016 17:41
-
-
Save lopex/be44ab64130f757c47bd to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PATTERN: /ab+c/ | |
<RAW TREE> | |
<List:0x3764951d (NULL)> | |
car: <List:0x4b1210ee (List:0x3764951d)> | |
car: <String:0x4d7e1886 (List:0x4b1210ee)> | |
bytes: 'a' | |
cdr: <List:0x3cd1a2f1 (List:0x4b1210ee)> | |
car: <Quantifier:0x2f0e140b (List:0x3cd1a2f1)> | |
state: | |
target: <String:0x7440e464 (Quantifier:0x2f0e140b)> | |
bytes: 'b' | |
lower: 1 | |
upper: -1 | |
greedy: true | |
targetEmptyInfo: 0 | |
headExact: NULL | |
nextHeadExact: NULL | |
isRefered: false | |
combExpCheckNum: 0 | |
cdr: NULL | |
cdr: <List:0x49476842 (List:0x3764951d)> | |
car: <String:0x78308db1 (List:0x49476842)> | |
bytes: 'c' | |
cdr: NULL | |
<TREE> | |
<List:0x3764951d (NULL)> | |
car: <List:0x4b1210ee (List:0x3764951d)> | |
car: <String:0x23fc625e (List:0x4b1210ee)> | |
bytes: 'a' | |
cdr: <List:0x3cd1a2f1 (List:0x4b1210ee)> | |
car: <Quantifier:0x2f0e140b (List:0x3cd1a2f1)> | |
state: | |
target: <String:0x3f99bd52 (Quantifier:0x2f0e140b)> | |
bytes: 'b' | |
lower: 1 | |
upper: -1 | |
greedy: true | |
targetEmptyInfo: 0 | |
headExact: NULL | |
nextHeadExact: NULL | |
isRefered: false | |
combExpCheckNum: 0 | |
cdr: NULL | |
cdr: <List:0x49476842 (List:0x3764951d)> | |
car: <String:0x4f023edb (List:0x49476842)> | |
bytes: 'c' | |
cdr: NULL | |
optimize: EXACT_IC | |
anchor: [] | |
sub anchor: [] | |
dmin: 0 dmax: 0 | |
threshold length: 2 | |
exact: [ab]: length: 2 | |
stack used: true | |
templates: 0 | |
code length: 14 | |
[exact1-ic:a]@0(2) [exact1-ic:b]@2(2) [push:(4)]@4(2) [exact1-ic:b]@6(2) | |
[jump:(-6)]@8(2) [exact1-ic:c]@10(2) [end]@12(1) [finish]@13(1) | |
onig_search (entry point): str: 0, end: 25, start: 0, range 25 | |
onig_search(apply anchor): end: 25, start 0, range 25 | |
forward_search_range: str: 0, end: 25, s: 0, range: 25 | |
forward_search_range success: low: 6, high: 6, dmin: 0, dmax: 0 | |
match_at: str: 0, end: 25, start: 6, sprev: 5 | |
size: 25, start offset: 6 | |
6> "AByyyyy..." [exact1-ic:a]@0(2) | |
7> "Byyyyyy..." [exact1-ic:b]@2(2) | |
8> "yyyyyyA..." [push:(4)]@4(2) | |
8> "yyyyyyA..." [exact1-ic:b]@6(2) | |
8> "yyyyyyA..." [exact1-ic:c]@10(2) | |
0> "xxxxxxA..." [finish]@13(1) | |
forward_search_range: str: 0, end: 25, s: 7, range: 25 | |
forward_search_range success: low: 14, high: 14, dmin: 0, dmax: 0 | |
match_at: str: 0, end: 25, start: 14, sprev: 13 | |
size: 25, start offset: 14 | |
14> "ABzzzzz..." [exact1-ic:a]@0(2) | |
15> "Bzzzzzz..." [exact1-ic:b]@2(2) | |
16> "zzzzzzA..." [push:(4)]@4(2) | |
16> "zzzzzzA..." [exact1-ic:b]@6(2) | |
16> "zzzzzzA..." [exact1-ic:c]@10(2) | |
0> "xxxxxxA..." [finish]@13(1) | |
forward_search_range: str: 0, end: 25, s: 15, range: 25 | |
forward_search_range success: low: 22, high: 22, dmin: 0, dmax: 0 | |
match_at: str: 0, end: 25, start: 22, sprev: 21 | |
size: 25, start offset: 22 | |
22> "ABC" [exact1-ic:a]@0(2) | |
23> "BC" [exact1-ic:b]@2(2) | |
24> "C" [push:(4)]@4(2) | |
24> "C" [exact1-ic:b]@6(2) | |
24> "C" [exact1-ic:c]@10(2) | |
25> "" [end]@12(1) | |
22 | |
Region: | |
0: (22-25) | |
DONE |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment