Hadoop Glob Patterns

Pattern Description
?
Matches any single character
*
Matches zero or more characters
[abc]
Matches a single character from character set {a,b,c}.
[a-b]
Matches a single character from the character range {a…b}. Note that the “^”
character must occur immediately to the right of the opening bracket.
[^a]
Matches a single character that is not from character set or range {a}. Note that
the “^”character must occur immediately to the right of the opening bracket.
\c
Removes (escapes) any special meaning of character c.
{ab,cd}
Matches a string from the string set {ab, cd}.
{ab,c{de, fh}}
Matches a string from the string set {ab, cde, cfh}.