allow dots in regex via #
added tests for regex resolving