Wrote functional test for regex support. Having lunch now.
Fixed problems with log files, by using the same log path for each test instead of unneccesarily changing it.