diff -r 6ad0f63e1968 -r ddb521b57e0c handouts/ho01.tex --- a/handouts/ho01.tex Fri Sep 22 13:48:48 2023 +0100 +++ b/handouts/ho01.tex Sat Sep 23 21:22:17 2023 +0100 @@ -205,6 +205,7 @@ \end{tabular} \end{center} +\noindent The syntax is pretty universal and can be found in many regular expression libraries. If you need a quick recap about regular expressions and how the match strings, here is a quick video: @@ -409,8 +410,8 @@ \subsection*{Basic Regular Expressions} The regular expressions shown earlier for Scala, we -will call \emph{extended regular expressions}. The ones we -will mainly study in this module are \emph{basic regular +will in this module call \emph{extended regular expressions}. The ones we +will mainly study are \emph{basic regular expressions}, which by convention we will just call \emph{regular expressions}, if it is clear what we mean. The attraction of (basic) regular expressions is that many @@ -434,7 +435,7 @@ are referred to, then $\ZERO$ (in bold font) does not stand for the number zero: rather it is a particular pattern that does not match any string. Similarly, in the context of regular -expressions, $\ONE$ does not stand for the number one but for +expressions, $\ONE$ does not stand for the number one, but for a regular expression that matches the empty string. The letter $c$ stands for any character from the alphabet at hand. Again in the context of regular expressions, it is a particular