test/ebnf.py: `\~` is now substituted by mangled whitespace in regular expressions for _skip and _resume