Informing a regex syntax should include required slash separators (#35234)

Co-authored-by: Ben Ahmady <32935794+subatoi@users.noreply.github.com>
This commit is contained in:
Nelson Benitez Leon 2024-11-11 13:43:01 +00:00 коммит произвёл GitHub
Родитель 032b71dc80
Коммит f775a1ae5b
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
1 изменённых файлов: 5 добавлений и 1 удалений

Просмотреть файл

@ -317,4 +317,8 @@ If code search guesses wrong, you can always get the search you wanted by using
## Case sensitivity
By default, code search is case-insensitive. Searching for `True` will include results for _uppercase_ `TRUE` and _lowercase_ `true`. You can do case-sensitive searches by using a regular expression with case insensitivity turned off, for example `(?-i)True`.
By default, code search is case-insensitive, and results will include both uppercase and lowercase results. You can do case-sensitive searches by using a regular expression with case insensitivity turned off. For example, to search for the string "True", you would use:
```text
/(?-i)True/
```