Hello. I am starting to use instaparse, and I am matching the end of a multi-line string using #'\\Z'
. While it seems to work, is it the correct way to match it?
@vincent.cantin that seems like a legit approach to me; I'd have to know more about your broader use case to know whether there's a more elegant overall approach.
for example, you could use the instaparse negative lookahead feature (`!`) to determine whether there are no more tokens to match