Link regex docs in readme (#1454)

This commit is contained in:
Casey Rodarmor 2022-12-17 16:28:44 -08:00 committed by GitHub
parent e24fcb4e9e
commit d530fea378
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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. - `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(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(s)` - Remove leading and trailing whitespace from `s`.
- `trim_end(s)` - Remove trailing whitespace from `s`. - `trim_end(s)` - Remove trailing whitespace from `s`.
- `trim_end_match(s, pat)` - Remove suffix of `s` matching `pat`. - `trim_end_match(s, pat)` - Remove suffix of `s` matching `pat`.
@ -1167,7 +1167,6 @@ The executable is at: /bin/just
- `uppercamelcase(s)`<sup>1.7.0</sup> - Convert `s` to `UpperCamelCase`. - `uppercamelcase(s)`<sup>1.7.0</sup> - Convert `s` to `UpperCamelCase`.
- `uppercase(s)` - Convert `s` to uppercase. - `uppercase(s)` - Convert `s` to uppercase.
#### Path Manipulation #### Path Manipulation
##### Fallible ##### Fallible