Search over source code by typing a regular expression into the query box. Searches are case-insensitive by default:
Queries containing capital letters are matched case-sensitively:
Use case: to force a lower-case match:
Use lit: to match a literal string. At present you can't mix and match a literal string and a regular expression.
Restrict matches to specific files using a file: modifier:
Wrap a clause in parentheses to stop interpretation of spaces or query modifiers:
Exclude files from matches using -file::
The complete RE2 Syntax reference is available on their wiki page: https://github.com/google/re2/wiki/Syntax