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