This text is copied from the Glimpse manual page. I have tried to remove things that do not apply to the lxr searcher, but beware, some things might have slipped through. I'll try to put together something better when I get the time. For more information on glimpse go to 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.