From f061e7419fe32469c47f2f683db306e067ae91de Mon Sep 17 00:00:00 2001 From: Ophir LOJKINE Date: Mon, 5 Oct 2020 18:16:59 +0200 Subject: [PATCH 1/2] Disambiguate the documentation of is_match --- src/re_unicode.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/re_unicode.rs b/src/re_unicode.rs index 685d4046de..7763f06ca2 100644 --- a/src/re_unicode.rs +++ b/src/re_unicode.rs @@ -175,7 +175,7 @@ impl Regex { RegexBuilder::new(re).build() } - /// Returns true if and only if the regex matches the string given. + /// Returns true if and only if there is a match for the regex in the string given. /// /// It is recommended to use this method if all you need to do is test /// a match, since the underlying matching engine may be able to do less From 95f8997660234fc91ed144ae425bfb23ce30d806 Mon Sep 17 00:00:00 2001 From: Ophir LOJKINE Date: Mon, 5 Oct 2020 18:51:53 +0200 Subject: [PATCH 2/2] Update re_bytes.rs --- src/re_bytes.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/re_bytes.rs b/src/re_bytes.rs index 69f0b335de..c5ded203f1 100644 --- a/src/re_bytes.rs +++ b/src/re_bytes.rs @@ -119,7 +119,7 @@ impl Regex { RegexBuilder::new(re).build() } - /// Returns true if and only if the regex matches the string given. + /// Returns true if and only if there is a match for the regex in the string given. /// /// It is recommended to use this method if all you need to do is test /// a match, since the underlying matching engine may be able to do less