Convert a pattern (glob or regex) into an anchored regex string over
instance-type names. Mirrors Go patternToRegex: regex-looking patterns are
lightly fixed up (bare * -> .*, literal dots escaped) and anchored; plain
globs go through wildcardToRegex.
Convert a pattern (glob or regex) into an anchored regex string over instance-type names. Mirrors Go patternToRegex: regex-looking patterns are lightly fixed up (bare
*->.*, literal dots escaped) and anchored; plain globs go through wildcardToRegex.