rg: quote the glob (#23579)

This commit is contained in:
Managor
2026-08-15 12:06:02 +03:00
committed by GitHub
parent eedcaad083
commit fe0268d9e6
+1 -1
View File
@@ -22,7 +22,7 @@
- Only search the files matching the glob pattern(s) (e.g. `README.*`, use `!filename_pattern` to exclude instead):
`rg {{pattern}} {{[-g|--glob]}} {{filename_glob_pattern}}`
`rg {{pattern}} {{[-g|--glob]}} '{{filename_glob_pattern}}'`
- Recursively list filenames in the current directory that match a pattern: