docs: Update suggested non-regex note on regex failure

This commit is contained in:
DeflateAwning
2026-04-23 15:31:03 -06:00
parent 8f5a1675f5
commit 468c807049
+3 -2
View File
@@ -496,8 +496,9 @@ fn build_regex(pattern_regex: String, config: &Config) -> Result<regex::bytes::R
.build()
.map_err(|e| {
anyhow!(
"{}\n\nNote: You can use the '--fixed-strings' option to search for a \
literal string instead of a regular expression. Alternatively, you can \
"{}\n\nNote: You can search for literal substrings with '--fixed-strings' \
or literal strings with '--exact' options (instead of a regular expression). \
Alternatively, you can \
also use the '--glob' option to match on a glob pattern.",
e
)