Signed-off-by: Jo-Philipp Wich <jo@mein.io>
-Count the occurrences of given substring in given string.
+Count the occurrences of given substring in given string.
-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