File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ Use the `regex!` macro to build regexes:
19
19
20
20
* they're checked at compile time
21
21
* 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); `
23
23
* regex creation is less verbose
24
24
25
25
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);
59
59
60
60
```
61
61
62
- # Test a match
62
+ # Test
63
63
64
64
```
65
65
use lazy_regex::regex_is_match;
@@ -68,7 +68,7 @@ let b = regex_is_match!("[ab]+", "car");
68
68
assert_eq!(b, true);
69
69
```
70
70
71
- # Extract a value
71
+ # Extract
72
72
73
73
```
74
74
use lazy_regex::regex_find;
You can’t perform that action at this time.
0 commit comments