Convert a simple path pattern String to a Regex
The simple pattern is a subset of the shell pattern matching or glob
'*' matches any zero or more characters '?' matches any one character