mirror of
https://github.com/vlang/v.git
synced 2025-08-04 02:07:28 -04:00
regex: fix misspelled word "firts" in replace_n description (#23514)
This commit is contained in:
parent
c94e1e05f6
commit
b9a44ee0cf
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user