implement a getPosition for the internal parser
0 repeat parsing was flawed
debug info for parsing
ignore space between character class brackets
char classes did not obey EOF

Fixes #37