Theo mặc định, tất cả các cụm từ tìm kiếm đều sử dụng biểu thức chính quy RE2. Nếu không muốn sử dụng biểu thức chính quy, hãy đặt cụm từ tìm kiếm trong dấu ngoặc kép ( "). Ví dụ:
Tham chiếu chéo có sẵn cho một số kho lưu trữ.
Khi bạn bật tính năng tham chiếu chéo, các biểu tượng sẽ là đường liên kết đến định nghĩa của biểu tượng đó.
Khi bạn nhấp vào một định nghĩa biểu tượng, danh sách các cách sử dụng sẽ xuất hiện.
[null,null,["Cập nhật lần gần đây nhất: 2025-07-26 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,["# Getting started with Code Search\n\nIntroduction\n------------\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-----------\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\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\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."]]