instaparse

If you're not trampolining your parser, why bother getting up in the morning?
misha 2018-04-08T12:04:11.000005Z

greetings! I am having a trouble to match 2 consequent backslashes (clj):

(insta/parse
  (insta/parser "s = #'\\\\'")
  "\\\\")
=> Parse error at line 1, column 1:
\\
^
Expected:
#"\\" (followed by end-of-string)

(insta/parse
  (insta/parser "s = #\"\\\\\"")
  "\\\\")
=> Parse error at line 1, column 1:
\\
^
Expected:
#"\\" (followed by end-of-string)
at this point I am just brut forcing with no luck