Skip to content

Commit

Permalink
Fix wording in introduction.md (#397)
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickjaberg authored Mar 29, 2024
1 parent 7eec661 commit 41d3bb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exercises/concept/log-parser/.docs/introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down

0 comments on commit 41d3bb5

Please sign in to comment.