From 1e50ad503d557ba9b7561fd914c1be5b5b0df05e Mon Sep 17 00:00:00 2001 From: Mark Date: Fri, 3 Feb 2023 15:59:10 -0800 Subject: [PATCH] Typos --- Misc/Warm-Ups/regex.tex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Misc/Warm-Ups/regex.tex b/Misc/Warm-Ups/regex.tex index fe0a977..221c1a6 100644 --- a/Misc/Warm-Ups/regex.tex +++ b/Misc/Warm-Ups/regex.tex @@ -18,7 +18,7 @@ {The Regex Warm-Up} {Prepared by Mark on \today} - Last time, we discussed Deterministic Finite Automata. One interesting application of these mathematical objects is pattern matching, usually in the form of Regular Expressions. \\ + Last time, we discussed Deterministic Finite Automata. One interesting application of these mathematical objects is found in computer science: Regular Expressions. \\ (abbreviated \say{regex}, which is pronounced like \say{gif}) \vspace{2mm} @@ -61,7 +61,7 @@ Brackets \htexttt{\{min, max\}} are the most flexible quantifier. \\ They specify exactly how many tokens to match: \\ \htexttt{ab\{2\}a} will match only \texttt{abba}. \\ - \htexttt{ab\{1,3\}a} will match \texttt{aba}, \texttt{abba}, and \texttt{abbba}. \\ + \htexttt{ab\{1,3\}a} will match only \texttt{aba}, \texttt{abba}, and \texttt{abbba}. \\ \htexttt{ab\{2,\}a} will match any \texttt{ab...ba} with at least two \texttt{b}s. \vspace{5mm}