Skip to content

Commit 75ca898

Browse files
authored
docs: Fix a couple of typos in regex docs (#1053)
1 parent 0076355 commit 75ca898

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/queries/regular-expressions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ description regex matches /#tag\/subtag[0-9]\/subsubtag[0-9]/i
212212

213213
Currently `tag` and `tags` searches do not yet support regular expressions. Therefore, for precise searching of tags, use `description` instead.
214214

215-
Suppose you wanted to search for tasks with a very short tag in: `#t`, and to not match tags line `#task` and `#t/subtag`.
215+
Suppose you wanted to search for tasks with a very short tag in: `#t`, and to not match tags like `#task` and `#t/subtag`.
216216

217217
The most general query is:
218218

@@ -233,6 +233,6 @@ The Boolean `OR` allows us to search for two different patterns, for a thorough
233233
- But it will not match:
234234
- `- [ ] Do stuff #t`
235235
- `description regex matches /#t$/i`
236-
- Matches `#t` or `#T` at the very end of the task line (after all signifiers and trailing white space has been removed)
236+
- Matches `#t` or `#T` at the very end of the task line (after all signifiers and trailing white space have been removed)
237237
- For example, this will match:
238238
- `- [ ] Do stuff #t`

0 commit comments

Comments
 (0)