Skip to content

Commit da4ddb4

Browse files
committed
clarity of readme
1 parent 7229f96 commit da4ddb4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Use the `regex!` macro to build regexes:
1919

2020
* they're checked at compile time
2121
* they're wrapped in `once_cell` lazy static initializers so that they're compiled only once
22-
* they can hold flags with a familiar suffix syntax: `let case_insensitive_regex = regex!("ab*"i);`
22+
* they can hold flags as suffix: `let case_insensitive_regex = regex!("ab*"i);`
2323
* regex creation is less verbose
2424

2525
This macro builds normal instances of `regex::Regex` so all the usual features are available.
@@ -59,7 +59,7 @@ assert_eq!(r.is_match(r#" "Aristote" "Platon" "#), true);
5959
6060
```
6161

62-
# Test a match
62+
# Test
6363

6464
```
6565
use lazy_regex::regex_is_match;
@@ -68,7 +68,7 @@ let b = regex_is_match!("[ab]+", "car");
6868
assert_eq!(b, true);
6969
```
7070

71-
# Extract a value
71+
# Extract
7272

7373
```
7474
use lazy_regex::regex_find;

0 commit comments

Comments
 (0)