| 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 character a must be lexicographically less than or equal to character b. |
| [^a] | Matches a single character that is not from character set or range {a}. Note that the ^ character must occur immediately after 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} |
Examples
| Pattern | Matched string |
|---|
/2013-01-{01,02,03}/impressions/* | /2013-01-01/impressions/* /2013-01-02/impressions/* /2013-01-03/impressions/* |
/201[0-9]/01/* | /2010/01/* /2011/01/* /2012/01/* … /2019/01/* |
Last modified on April 20, 2026