Skip to content

Commit

Permalink
Fix wording in introduction.md
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickjaberg authored Dec 8, 2023
1 parent 5ec3a80 commit c7499d8
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 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.

Expand Down

0 comments on commit c7499d8

Please sign in to comment.