This text is derived from the Glimpse manual page. For more information on glimpse, see the Glimpse homepage.
As was mentioned in the section on Patterns above, some characters serve as meta characters for glimpse and need to be preceded by '\\' to search for them. The most common examples are the characters '.' (which stands for a wild card), and '*' (the Kleene closure). So, "glimpse ab.de" will match abcde, but "glimpse ab\\.de" will not, and "glimpse ab*de" will not match ab*de, but "glimpse ab\\*de" will. The meta character - is translated automatically to a hypen unless it appears between [] (in which case it denotes a range of characters).
There is no size limit for simple patterns and simple patterns within Boolean expressions. More complicated patterns, such as regular expressions, are currently limited to approximately 30 characters. Lines are limited to 1024 characters.