add failing regex test
remove unneeded code

this code is not needed and fails when a single quote occurs in the code
(for example in a regex)

this fixes the failing regex test.