add unit test for #12049
escape . in regular expression (.pro matches programinfo, too)