Skip to content

Commit 19bd8d6

Browse files
barafaelRafael Bachmann
authored and
Rafael Bachmann
committed
Fix minor typos in docs
1 parent 837fd85 commit 19bd8d6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/lib.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ as follows:
4242
4343
* [`Regex::new`] compiles a regex using the default configuration. A
4444
[`RegexBuilder`] permits setting a non-default configuration. (For example,
45-
case insensitive matching, verbose mode and others.)
45+
case-insensitive matching, verbose mode and others.)
4646
* [`Regex::is_match`] reports whether a match exists in a particular haystack.
4747
* [`Regex::find`] reports the byte offsets of a match in a haystack, if one
4848
exists. [`Regex::find_iter`] returns an iterator over all such matches.
@@ -550,7 +550,7 @@ applies to the special word boundary assertions. (That is, `\b{start}`,
550550
* `^` and `$` are **not** Unicode-aware in multi-line mode. Namely, they only
551551
recognize `\n` (assuming CRLF mode is not enabled) and not any of the other
552552
forms of line terminators defined by Unicode.
553-
* Case insensitive searching is Unicode-aware and uses simple case folding.
553+
* case-insensitive searching is Unicode-aware and uses simple case folding.
554554
* Unicode general categories, scripts and many boolean properties are available
555555
by default via the `\p{property name}` syntax.
556556
* In all cases, matches are reported using byte offsets. Or more precisely,
@@ -1240,7 +1240,7 @@ default are noted.
12401240
is not included here, but contains properties like `Alphabetic`, `Emoji`,
12411241
`Lowercase`, `Math`, `Uppercase` and `White_Space`.
12421242
* **unicode-case** -
1243-
Provide the data for case insensitive matching using
1243+
Provide the data for case-insensitive matching using
12441244
[Unicode's "simple loose matches" specification](https://www.unicode.org/reports/tr18/#Simple_Loose_Matches).
12451245
* **unicode-gencat** -
12461246
Provide the data for

0 commit comments

Comments
 (0)