diff --git a/cmd/tablizer.go b/cmd/tablizer.go index 98399bb..017feb8 100644 --- a/cmd/tablizer.go +++ b/cmd/tablizer.go @@ -329,7 +329,7 @@ LISP PLUGINS [experimental] if it s larger than 5, false otherwise. */ (defn uselarge [line] - (cond (> (atoi (second (resplit line `\s+`))) 5) true false)) + (cond (> (atoi (second (resplit line ` +`))) 5) true false)) /* Register the filter hook */ (addhook %filter %uselarge) @@ -355,6 +355,9 @@ LISP PLUGINS [experimental] (atoi [string]) => int (matchre [string, regex]) => bool + The standard language is described here: + . + BUGS In order to report a bug, unexpected behavior, feature requests or to submit a patch, please open an issue on github: diff --git a/tablizer.1 b/tablizer.1 index 274a323..5d98690 100644 --- a/tablizer.1 +++ b/tablizer.1 @@ -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: . .SH "BUGS" .IX Header "BUGS" In order to report a bug, unexpected behavior, feature requests diff --git a/tablizer.pod b/tablizer.pod index 3a4c954..d90b2f1 100644 --- a/tablizer.pod +++ b/tablizer.pod @@ -371,7 +371,7 @@ Example: if it s larger than 5, false otherwise. */ (defn uselarge [line] - (cond (> (atoi (second (resplit line `\s+`))) 5) true false)) + (cond (> (atoi (second (resplit line ` +`))) 5) true false)) /* Register the filter hook */ (addhook %filter %uselarge)