0

After I solved the initial problem, I now believe I have parsed everything, and it now seems to be choking on the very end of the input:

Failure: [9.1] failure: string matching regex `\z' expected but `' found

^

Um, it is finding no characters at the very end. Should I append my own "\z" EOF somehow?

Community
  • 1
  • 1
Dan Billings
  • 852
  • 1
  • 8
  • 18

1 Answers1

1

You didn't really solve your original problem. See my answer, where I cover this problem. Basically, there's a \r\n at the end of the file -- which is taken to be a separator -- so it expects another repetition.

Daniel C. Sobral
  • 295,120
  • 86
  • 501
  • 681