Skip to content

Commit 0893703

Browse files
committed
precision in readme
1 parent aa6b8c8 commit 0893703

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@ assert_eq!(r.is_match(r#" "Aristote" "Platon" "#), true);
5959

6060
```
6161

62+
What you really get from this macro call is a reference to a `regex::Regex`, statically checked, and behind a static `once_cell` lazy initializer.
63+
6264
# Test
6365

6466
```rust

src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ assert_eq!(r.is_match("Saa"), false);
2828
let r = regex!("sa+$"i);
2929
assert_eq!(r.is_match("Saa"), true);
3030
31-
3231
// you can use a raw literal
3332
let r = regex!(r#"^"+$"#);
3433
assert_eq!(r.is_match("\"\""), true);

0 commit comments

Comments
 (0)