From 41d3bb57b3deae42ca5d64d15826ad8a535078b2 Mon Sep 17 00:00:00 2001 From: Patrick Jaberg Date: Fri, 29 Mar 2024 16:31:41 -0500 Subject: [PATCH] Fix wording in introduction.md (#397) --- 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..b9abbac42 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 functions return 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.