[up] [log] [?]
[first] [prev] [entry] [exit]  [last]

(meg/match ~{:close-tag (drop (* "</" (cmt (* (backref :tag-name) (capture :w+)) "<function =>") ">")) :main (* :tagged -1) :open-tag (* (constant :tag) "<" (capture :w+ :tag-name) ">") :tagged (unref (replace (* :open-tag :value :close-tag) "<cfunction struct>")) :untagged (capture (some (if-not "<" 1))) :value (* (constant :value) (group (any (+ :tagged :untagged))))}
           "<p><em>Hello</em> <strong>world</strong>!</p>")

captures and tags
captures: @[]

current frame
status: entered frame 0
peg: (* :tagged -1)
text: <p><em>Hello</em> <strong>world</strong>!</p>
index: 0

frames call stack
0 (* :tagged -1)