fix regex in example

This commit is contained in:
2025-01-10 18:33:55 +01:00
parent 7ab1a1178a
commit 8792c5a40f
3 changed files with 8 additions and 3 deletions

View File

@@ -522,7 +522,7 @@ Example:
\& if it s larger than 5, false otherwise.
\& */
\& (defn uselarge [line]
\& (cond (> (atoi (second (resplit line \`\es+\`))) 5) true false))
\& (cond (> (atoi (second (resplit line \` +\`))) 5) true false))
\&
\& /* Register the filter hook */
\& (addhook %filter %uselarge)
@@ -550,6 +550,8 @@ functions are provided by tablizer:
\& (atoi [string]) => int
\& (matchre [string, regex]) => bool
.Ve
.PP
The standard language is described here: <https://github.com/glycerine/zygomys/wiki/Language>.
.SH "BUGS"
.IX Header "BUGS"
In order to report a bug, unexpected behavior, feature requests