added note to find doc example
...that regular find without regex is case insensitive.
This commit is contained in:
parent
ab93d89e33
commit
54f75edcdf
|
@ -70,8 +70,8 @@ impl Command for Find {
|
||||||
result: None,
|
result: None,
|
||||||
},
|
},
|
||||||
Example {
|
Example {
|
||||||
description: "Search and highlight text for a term in a string",
|
description: "Search and highlight text for a term in a string. Note that regular search is case insensitive",
|
||||||
example: r#"'Cargo.toml' | find toml"#,
|
example: r#"'Cargo.toml' | find Cargo"#,
|
||||||
result: Some(Value::test_string("\u{1b}[37mCargo.\u{1b}[0m\u{1b}[41;37mtoml\u{1b}[0m\u{1b}[37m\u{1b}[0m".to_owned())),
|
result: Some(Value::test_string("\u{1b}[37mCargo.\u{1b}[0m\u{1b}[41;37mtoml\u{1b}[0m\u{1b}[37m\u{1b}[0m".to_owned())),
|
||||||
},
|
},
|
||||||
Example {
|
Example {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user