diff options
Diffstat (limited to 'doc/modules/colorizer.utils.html')
-rw-r--r-- | doc/modules/colorizer.utils.html | 63 |
1 files changed, 33 insertions, 30 deletions
diff --git a/doc/modules/colorizer.utils.html b/doc/modules/colorizer.utils.html index d6a0216..5ebd197 100644 --- a/doc/modules/colorizer.utils.html +++ b/doc/modules/colorizer.utils.html @@ -74,6 +74,10 @@ <td class="summary">Valid colorchars are alphanumeric and - ( tailwind colors )</td> </tr> <tr> + <td class="name" nowrap><a href="#count">count (str, pattern)</a></td> + <td class="summary">Count the number of character in a string</td> + </tr> + <tr> <td class="name" nowrap><a href="#get_last_modified">get_last_modified (path)</a></td> <td class="summary">Get last modified time of a file</td> </tr> @@ -86,10 +90,6 @@ <td class="summary">Obvious.</td> </tr> <tr> - <td class="name" nowrap><a href="#percent_or_hex">percent_or_hex (v)</a></td> - <td class="summary">Obvious.</td> - </tr> - <tr> <td class="name" nowrap><a href="#watch_file">watch_file (path, callback, ...)</a></td> <td class="summary">Watch a file for changes and execute callback</td> </tr> @@ -178,6 +178,34 @@ </dd> <dt> + <a name = "count"></a> + <strong>count (str, pattern)</strong> + </dt> + <dd> + Count the number of character in a string + + + <h3>Parameters:</h3> + <ul> + <li><span class="parameter">str</span> + string + </li> + <li><span class="parameter">pattern</span> + string + </li> + </ul> + + <h3>Returns:</h3> + <ol> + + number + </ol> + + + + +</dd> + <dt> <a name = "get_last_modified"></a> <strong>get_last_modified (path)</strong> </dt> @@ -257,31 +285,6 @@ </dd> <dt> - <a name = "percent_or_hex"></a> - <strong>percent_or_hex (v)</strong> - </dt> - <dd> - Obvious. - - - <h3>Parameters:</h3> - <ul> - <li><span class="parameter">v</span> - string - </li> - </ul> - - <h3>Returns:</h3> - <ol> - - number|nil - </ol> - - - - -</dd> - <dt> <a name = "watch_file"></a> <strong>watch_file (path, callback, ...)</strong> </dt> @@ -298,7 +301,7 @@ function: Callback to execute </li> <li><span class="parameter">...</span> - array: params for callback + table: params for callback </li> </ul> |