From 755ac61beed4a54b03d7bfcf649ea0bf6e5c1555 Mon Sep 17 00:00:00 2001 From: Casey Rodarmor Date: Mon, 7 Nov 2022 22:51:09 -0800 Subject: [PATCH] =?UTF-8?q?Fix=20typo:=20regec=20=E2=86=92=20regex=20(#140?= =?UTF-8?q?9)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0196a9f..de32ec6 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 `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`.