Skip to content

Commit

Permalink
Fix minor typos in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
barafael authored Jul 8, 2023
1 parent 28e16fa commit dabfeb0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ as follows:
* [`Regex::new`] compiles a regex using the default configuration. A
[`RegexBuilder`] permits setting a non-default configuration. (For example,
case insensitive matching, verbose mode and others.)
case-insensitive matching, verbose mode and others.)
* [`Regex::is_match`] reports whether a match exists in a particular haystack.
* [`Regex::find`] reports the byte offsets of a match in a haystack, if one
exists. [`Regex::find_iter`] returns an iterator over all such matches.
Expand Down Expand Up @@ -109,7 +109,7 @@ fn main() {
}
```
Foruth, run it with `cargo run`:
Fourth, run it with `cargo run`:
```text
$ cargo run
Expand Down Expand Up @@ -548,7 +548,7 @@ get ASCII-only word boundaries, use `(?-u:\b)` and `(?-u:\B)`.
* `^` and `$` are **not** Unicode-aware in multi-line mode. Namely, they only
recognize `\n` (assuming CRLF mode is not enabled) and not any of the other
forms of line terminators defined by Unicode.
* Case insensitive searching is Unicode-aware and uses simple case folding.
* case-insensitive searching is Unicode-aware and uses simple case folding.
* Unicode general categories, scripts and many boolean properties are available
by default via the `\p{property name}` syntax.
* In all cases, matches are reported using byte offsets. Or more precisely,
Expand Down Expand Up @@ -1230,7 +1230,7 @@ default are noted.
is not included here, but contains properties like `Alphabetic`, `Emoji`,
`Lowercase`, `Math`, `Uppercase` and `White_Space`.
* **unicode-case** -
Provide the data for case insensitive matching using
Provide the data for case-insensitive matching using
[Unicode's "simple loose matches" specification](https://www.unicode.org/reports/tr18/#Simple_Loose_Matches).
* **unicode-gencat** -
Provide the data for
Expand Down

0 comments on commit dabfeb0

Please sign in to comment.