From d530fea378aad2c4083107c7573dda7c73e74253 Mon Sep 17 00:00:00 2001 From: Casey Rodarmor Date: Sat, 17 Dec 2022 16:28:44 -0800 Subject: [PATCH] Link regex docs in readme (#1454) --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 8740da4..5e1cdb8 100644 --- a/README.md +++ b/README.md @@ -1145,7 +1145,7 @@ The executable is at: /bin/just - `quote(s)` - Replace all single quotes with `'\''` and prepend and append single quotes to `s`. This is sufficient to escape special characters for many shells, including most Bourne shell descendants. - `replace(s, from, to)` - Replace all occurrences of `from` in `s` to `to`. -- `replace_regex(s, regex, replacement)` - Replace all occurrences of `regex` in `s` to `replacement`. +- `replace_regex(s, regex, replacement)` - Replace all occurrences of `regex` in `s` to `replacement`. Regular expressions are provided by the [Rust `regex` crate](https://docs.rs/regex/latest/regex/). See the [syntax documentation](https://docs.rs/regex/latest/regex/#syntax) for usage examples. - `trim(s)` - Remove leading and trailing whitespace from `s`. - `trim_end(s)` - Remove trailing whitespace from `s`. - `trim_end_match(s, pat)` - Remove suffix of `s` matching `pat`. @@ -1167,7 +1167,6 @@ The executable is at: /bin/just - `uppercamelcase(s)`1.7.0 - Convert `s` to `UpperCamelCase`. - `uppercase(s)` - Convert `s` to uppercase. - #### Path Manipulation ##### Fallible