Trying to parse the 3 possible ends of line: Linux=lf ; MacOS=cr; Windows=crlf
given the rule:
newline ^ #newline asParser / (#cr asParser , #newline asParser optional)
The linux and MacOs tests pass testNewline1 ^self parse: String lf rule: #newline. testNewline2 ^self parse: String cr rule: #newline.
But the windows one fails !?!?!?!
testNewline3 ^self parse: String crlf rule: #newline.
Any clue why?
nicolas