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