Signed-off-by: Bor Grošelj Simić <bgs@turminal.net>
---
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.43.0