Skip to content

Commit

Permalink
Fix typo: regec → regex (#1409)
Browse files Browse the repository at this point in the history
  • Loading branch information
casey authored Nov 8, 2022
1 parent 7d6483b commit 755ac61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
Expand Down

0 comments on commit 755ac61

Please sign in to comment.