summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2018-03-12 16:03:58 +0100
committerJo-Philipp Wich <jo@mein.io>2018-03-12 16:03:58 +0100
commit6d253abd9951adee0e44b2926dd181b11cc9bb8e (patch)
treef3775b00ba95de309bb9a449ac61d9ebe5de4e70
parent4f412a76c262acf099678fe97c058f295c749608 (diff)
luci-base: fix documentation spelling mistakes in luci.util
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
-rw-r--r--documentation/api/modules/luci.util.html2
-rw-r--r--modules/luci-base/luasrc/util.luadoc4
2 files changed, 3 insertions, 3 deletions
diff --git a/documentation/api/modules/luci.util.html b/documentation/api/modules/luci.util.html
index 847230bbb..70d27d331 100644
--- a/documentation/api/modules/luci.util.html
+++ b/documentation/api/modules/luci.util.html
@@ -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.
diff --git a/modules/luci-base/luasrc/util.luadoc b/modules/luci-base/luasrc/util.luadoc
index 805eeb7f8..949aeb21c 100644
--- a/modules/luci-base/luasrc/util.luadoc
+++ b/modules/luci-base/luasrc/util.luadoc
@@ -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
]]
---[[