The the WS rule from the markdown example is misleading. If you use this rule the lexer will not correctly recognize the column number cause it treats a tab as one character and not as 2 or 4. This is misleading when it comes to providing detailed error information at which position an error occured.
The the WS rule from the markdown example is misleading. If you use this rule the lexer will not correctly recognize the column number cause it treats a tab as one character and not as 2 or 4. This is misleading when it comes to providing detailed error information at which position an error occured.