1
0
mirror of synced 2025-12-19 18:10:59 -05:00

Fix commonmark issues in data reusables (#37424)

This commit is contained in:
Rachael Sewell
2023-06-05 12:16:36 -07:00
committed by GitHub
parent 14c365cd55
commit ab9ec27502
119 changed files with 842 additions and 842 deletions

View File

@@ -138,7 +138,6 @@ user:octocat
{% endnote %}
### Language qualifier
To narrow down to a specific languages, use the `language:` qualifier. For example:
@@ -156,13 +155,15 @@ To search within file paths, use the `path:` qualifier. This will match files co
```
path:unit_tests
```
The above query will match both `src/unit_tests/my_test.py` and `src/docs/unit_tests.md` since they both contain `unit_test` somewhere in their path.
To match only a specific filename (and not part of the path), you could use a regular expression:
The above query will match both `src/unit_tests/my_test.py` and `src/docs/unit_tests.md` since they both contain `unit_test` somewhere in their path.
To match only a specific filename (and not part of the path), you could use a regular expression:
```
path:/(^|\/)README\.md$/
```
```
path:/(^|\/)README\.md$/
```
Note that the `.` in the filename is escaped, since `.` has special meaning for regular expressions. For more information about using regular expressions, see "[Using regular expressions](#using-regular-expressions)."
<br>