Translate a shell-like wildcard pattern to a compiled regular expression. Return the compiled regex. If 'is_regex' true, then 'pattern' is directly compiled to a regex (if it's a string) or just returned as-is (assumes it's a regex object).
(pattern, anchor=1, prefix=None, is_regex=0)
source not stored for this graph (policy: none)