From c7499d8320bf17269d39c219d544c666eec32362 Mon Sep 17 00:00:00 2001 From: Patrick Jaberg Date: Thu, 7 Dec 2023 21:28:57 -0600 Subject: [PATCH] Fix wording in introduction.md --- exercises/concept/log-parser/.docs/introduction.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exercises/concept/log-parser/.docs/introduction.md b/exercises/concept/log-parser/.docs/introduction.md index 54c80ebb8..f06385731 100644 --- a/exercises/concept/log-parser/.docs/introduction.md +++ b/exercises/concept/log-parser/.docs/introduction.md @@ -18,7 +18,7 @@ The most common way to create regular expressions is using the `regex.from_strin let assert Ok(re) = regex.from_string("test") ``` -The regular expression creation functions an error if the regular expression syntax is invalid, so a let-assertion has been used here to ensure the regular expression is valid. +The regular expression creation function returns an error if the regular expression syntax is invalid, so a let-assertion has been used here to ensure the regular expression is valid. The `regex.check` function can be used to check if a regular expression matches a string.