Skip to content

Commit

Permalink
substr -> substring
Browse files Browse the repository at this point in the history
  • Loading branch information
casey committed Jan 15, 2025
1 parent e04449b commit e9f501e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit e9f501e

Please sign in to comment.