Bugfixes, special regex builtin for q4

Code-generator has a problem with some function declaration.
Trying to avoid this, I ended up compiling the regex repeatedly.