luci-base: fix documentation spelling mistakes in luci.util
authorJo-Philipp Wich <jo@mein.io>
Mon, 12 Mar 2018 15:03:58 +0000 (16:03 +0100)
committerJo-Philipp Wich <jo@mein.io>
Mon, 12 Mar 2018 15:03:58 +0000 (16:03 +0100)
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
documentation/api/modules/luci.util.html
modules/luci-base/luasrc/util.luadoc

index 847230b..70d27d3 100644 (file)
@@ -629,7 +629,7 @@ Cloned table value
 <dd>
 
  
 <dd>
 
  
-Count the occurrences of given substring in given string.
+Count the occurrences of given substring in given string. 
 
 
 
 
 
 
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
 
 @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
 ]]
 
 ---[[
 ]]
 
 ---[[