[up] [log] [?]
[first] [prev] [entry] [exit] [next] [last]
(meg/match ~(sequence (constant 5 :tag) (sub (capture "abc" :tag) (backref :tag)))
"abcdef")
# =>
@[5 "abc" "abc"]
captures and tags
captures: @[5 "abc" "abc"]
tagged-captures:
tags: @[:tag :tag :tag]
values: @[5 "abc" "abc"]
current frame
status: exiting frame 0 with value: 3
peg: (sequence (constant 5 :tag) (sub (capture "abc" :tag) (backref :tag)))
text: abcdef
index: 0 advanced to: 3
matched: abc
frames call stack
0 (sequence (constant 5 :tag) (sub (capture "abc" :tag) (backref :tag)))