From d1cf40891bc75c036e9ce60ab5bc9cfad32baf74 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bor=20Gro=C5=A1elj=20Simi=C4=87?= Date: Sat, 13 Apr 2024 11:08:33 +0200 Subject: [PATCH] regex: fix typos in error messages MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Bor Grošelj Simić --- regex/regex.ha | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/regex/regex.ha b/regex/regex.ha index 175eb851..137c904d 100644 --- a/regex/regex.ha +++ b/regex/regex.ha @@ -434,7 +434,7 @@ fn parse_repetition( min = match (strconv::stoi(min_str)) { case let res: int => yield if (res < 0) { - return `Negative repitition count '{-n}'`: error; + return `Negative repetition count '{-n}'`: error; } else { yield res: size; }; @@ -448,7 +448,7 @@ fn parse_repetition( max = match (strconv::stoi(max_str)) { case let res: int => yield if (res < 0) { - return `Negative repitition count '{-n}'`: error; + return `Negative repetition count '{-n}'`: error; } else { yield res: size; }; -- 2.45.2