Bugfixes in regexes, which caused problems working with dates