Scala parser combinator - almost there!
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 i开发者_开发百科s finding no characters at the very end. Should I append my own "\z" EOF somehow?
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.
精彩评论