fromGlob

Creates regular expression pattern from simplified glob syntax:

  • letters, digits, '_', '-', '/', '.' - match that character

  • '?' - matches a single non-'/' character

  • '*' - matches a sequence of non-'/' characters

  • '**' - matches an arbitrary sequence of characters

  • other characters are not allowed/supported

Return

regular expression object that matches the given pattern

Parameters

glob

pattern that uses the syntax described above