added test-cases for regexp and lookahead, and fixed some issues with regexp and the lookaheads