Skip to content

Commit

Permalink
Complete section
Browse files Browse the repository at this point in the history
  • Loading branch information
noelwelsh committed Oct 26, 2023
1 parent f0faa43 commit 589cd96
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/pages/adt-interpreters/regexp.md
Original file line number Diff line number Diff line change
Expand Up @@ -323,4 +323,7 @@ regexp.matches("Scalal")
regexp.matches("Scalaland")
```

Success!
Success! At this point we could add many extensions to our library. For example, regular expressions usually have a method (by convention denoted `+`) that matches one or more times, and one that matches zero or once (usually denoted `?`). These are both conveniences we can build on our existing API.

However, our goal at the moment is to fully understand the implementation technique.
So in the next section we'll review the programming strategy that helped us create this code.

0 comments on commit 589cd96

Please sign in to comment.