Fix typo: regec → regex (#1409)

This commit is contained in:
Casey Rodarmor 2022-11-07 22:51:09 -08:00 committed by GitHub
parent 7d6483b995
commit 755ac61bee
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.
- `replace(s, from, to)` - Replace all occurrences of `from` in `s` to `to`.
- `replace_regex(s, regex, replacement)` - Replace all occurrences of `regec` in `s` to `replacement`.
- `replace_regex(s, regex, replacement)` - Replace all occurrences of `regex` in `s` to `replacement`.
- `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`.