Fix test case regex to work with all type of EOL characters #5
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "test-case-regex-fix"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
When trying to run the tests for the lezer/json library I stumbled upon this issue on a Windows pc. The EOL charactes where apparently replaced with
\r\nand the regex failed.This PR changes the regex to match
\n,\rand\r\n.Makes sense. Merged.