Fork me on GitHub
#instaparse
<
2017-11-30
>
mrchance18:11:51

hi, is there a possibility in instaparse to bind parse results? For example, when looking for a matching closing tag?

aengelberg18:11:18

@mrchance sadly no. I'd recommend writing your parser so that it accepts any pair of tags (matching or not), and then separately do some validation to make sure the tag pairs are well formed.

mrchance18:11:28

ok, thanks. Should be easy enough to do in the transform step