all: Fix typos identified by typos pre-commit hook

This commit is contained in:
Arne Welzel 2023-06-13 13:25:44 +02:00
parent 260c868f26
commit 7a043e5e8f
57 changed files with 80 additions and 80 deletions

View file

@ -409,7 +409,7 @@ function split_string%(str: string, re: pattern%): string_vec
## re: The pattern describing the separator to split *str* in two pieces.
##
## Returns: An array of strings with two elements in which the first represents
## the substring in *str* up to the first occurence of *re*, and the
## the substring in *str* up to the first occurrence of *re*, and the
## second everything after *re*. An array of one string is returned
## when *s* cannot be split.
##
@ -474,7 +474,7 @@ function split_string_n%(str: string, re: pattern,
##
## repl: The string that replaces *re*.
##
## Returns: A copy of *str* with the first occurence of *re* replaced with
## Returns: A copy of *str* with the first occurrence of *re* replaced with
## *repl*.
##
## .. zeek:see:: gsub subst_string