raise when key_matcher is given a regexp regardless of prefix. also make it an ArgumentError.