Remove unneeded variadiness of parameters

Some parameters were made variadic, but this was not used
Improve regex unittests regarding alteration
Remove some unneeded code