All searches use
RE2 regular expressions
by default. If you don't want to use regular expressions, enclose your search
in double quotation marks ( " ). For example:
Cross references are available for some repositories.
Where cross references are enabled, symbols are links to their definition.
Clicking a symbol definition shows a list of usages.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2023-10-18 UTC."],[[["\u003cp\u003eCode Search allows you to search for specific files or code snippets within your project using the search box and RE2 regular expressions by default.\u003c/p\u003e\n"],["\u003cp\u003eYou can access the Code Search UI for Android, Chromium, and other Google Open Source projects through provided links.\u003c/p\u003e\n"],["\u003cp\u003eCross references are available for some repositories, enabling you to navigate to symbol definitions and view their usages.\u003c/p\u003e\n"],["\u003cp\u003eFor more advanced searches and functionality, explore searching for files, file contents, and the Code Search reference documentation.\u003c/p\u003e\n"]]],[],null,["Introduction\n\nYou can search for specific files or code snippets by using the search box\nlocated at the top of the Code Search UI:\n\nTo get started, open the Code Search UI for your project:\n\n- [Android](https://cs.android.com)\n- [Chromium](https://source.chromium.org)\n- Other Google Projects: [Google Open Source](https://cs.opensource.google)\n\nText search\n\nAll searches use\n[RE2 regular expressions](https://github.com/google/re2/wiki/Syntax)\nby default. If you don't want to use regular expressions, enclose your search\nin double quotation marks ( \" ). For example: \n\n \"foo()\" # Treats the parentheses as literals. Doesn't match 'food'.\n foo() # Parentheses are treated as part of a regular expression. Matches 'food'.\n\n| **Note:** If you use a [search filter](../reference/#filters), such as `file`, don't enclose the filter in quotes. For example, use `file:abd.xyz` not `file:\"abc.xyz\"`.\n\nCross references\n\n[Cross references](/code-search/user/cross-references) are available for some repositories.\nWhere cross references are enabled, symbols are links to their definition.\nClicking a symbol definition shows a list of usages.\n\nWhat's next\n\n- Search for [files](../user/search-files) or [file contents](../user/search-file-contents).\n- Learn about supported operators, filters, and keyboard shortcuts in the Code Search [reference](../reference) documentation."]]