diff --git a/README.md b/README.md index b799a53032..2094d19398 100644 --- a/README.md +++ b/README.md @@ -1791,13 +1791,13 @@ The process ID is: 420 [Replacement string syntax](https://docs.rs/regex/latest/regex/struct.Regex.html#replacement-string-syntax). - `trim(s)` - Remove leading and trailing whitespace from `s`. - `trim_end(s)` - Remove trailing whitespace from `s`. -- `trim_end_match(s, substr)` - Remove suffix of `s` matching `substr`. -- `trim_end_matches(s, substr)` - Repeatedly remove suffixes of `s` matching - `substr`. +- `trim_end_match(s, substring)` - Remove suffix of `s` matching `substring`. +- `trim_end_matches(s, substring)` - Repeatedly remove suffixes of `s` matching + `substring`. - `trim_start(s)` - Remove leading whitespace from `s`. -- `trim_start_match(s, substr)` - Remove prefix of `s` matching `substr`. -- `trim_start_matches(s, substr)` - Repeatedly remove prefixes of `s` matching - `substr`. +- `trim_start_match(s, substring)` - Remove prefix of `s` matching `substring`. +- `trim_start_matches(s, substring)` - Repeatedly remove prefixes of `s` + matching `substring`. #### Case Conversion