Fixing window name format checking regular expression

There was identical error in tests, added in #55 PR, where regular expression delimiters were missing.