luci-base: fix documentation spelling mistakes in luci.util
[project/luci.git] / modules / luci-base / luasrc / util.luadoc
index 805eeb7..949aeb2 100644 (file)
@@ -109,13 +109,13 @@ Remove leading and trailing whitespace from given string value.
 ]]
 
 ---[[
-Count the occurences of given substring in given string.
+Count the occurrences of given substring in given string.
 
 @class function
 @name cmatch
 @param str             String to search in
 @param pattern String containing pattern to find
-@return                        Number of found occurences
+@return                        Number of found occurrences
 ]]
 
 ---[[