fixup our pattern match, no slashes allowed