From b9a44ee0cfc4ae465a3c47e0c465faecaa760f4b Mon Sep 17 00:00:00 2001 From: Kim Shrier Date: Sun, 19 Jan 2025 04:15:06 -0700 Subject: [PATCH] regex: fix misspelled word "firts" in replace_n description (#23514) --- vlib/regex/regex_util.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vlib/regex/regex_util.v b/vlib/regex/regex_util.v index 791f9d1388..ddefb57300 100644 --- a/vlib/regex/regex_util.v +++ b/vlib/regex/regex_util.v @@ -509,7 +509,7 @@ pub fn (mut re RE) replace(in_txt string, repl_str string) string { return res.str() } -// replace_n return a string where the firts count matches are replaced with the repl_str string, +// replace_n return a string where the first count matches are replaced with the repl_str string, // if count is > 0 the replace began from the start of the string toward the end // if count is < 0 the replace began from the end of the string toward the start // if count is 0 do nothing