peek() for precise p and whitespace removal
Bugfix
more precise p, li and whitespace removal

Extended peek() to allow for unlimited look-ahead