Fixed support for ignore file regexes that do not contain a slash.