From e9f501e1d8f4aed8b7bb7b2d6a28138ca893c586 Mon Sep 17 00:00:00 2001 From: Casey Rodarmor Date: Tue, 14 Jan 2025 16:33:01 -0800 Subject: [PATCH] substr -> substring --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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