--, returns all matches if no matches with
-- is foundclojure.string/escape instead of clojure.string/replace to convert
the characters to placeholders. It still uses clojure.string/replace to
convert the placeholders back to the original characters, but using
clojure.string/escape should be (slightly) faster and allows customization
of the characters that needs conversion. Use binding on
docopt.match/*sep-table* if you need to customize this behaviorfoo -f "file with spaces.txt"\u00A0 to __DOCOPT_SPACE_SEP__ as the placeholder character
in the space workaround to avoid triggering it by mistakefoo "file with spaces.txt"--ex-infoCan you improve this documentation?Edit on GitHub
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |