Internal API for shared functions, like name manipulation
Internal API for shared functions, like name manipulation
(author->lastnames fullnames)
Get last names from BibTeX-formatted author string fullnames
Get last names from BibTeX-formatted author string fullnames
(collapse-space s)
Replace all sequences of whitespace in s with a single space
Replace all sequences of whitespace in s with a single space
(format-names names)
Join a collection of (last-)names as they would naturally be formatted. [A] -> A [A, B] -> A and B [A, B, C] -> A, B and C (no Oxford comma)
Join a collection of (last-)names as they would naturally be formatted. [A] -> A [A, B] -> A and B [A, B, C] -> A, B and C (no Oxford comma)
(map-values f kvs)
Contruct a new map with all the values of the map kvs passed through f
Contruct a new map with all the values of the map kvs passed through f
(normalize-nfc s)
NFC-normalize the string s
NFC-normalize the string s
(re-escape s)
Escape any regular expression syntax characters in s such that the result can be embedded in a regular expression, but will only match literally equivalent strings.
Escape any regular expression syntax characters in s such that the result can be embedded in a regular expression, but will only match literally equivalent strings.
(split-fullname fullname)
Parse the string fullname into a vector of [given-names surname], or just [given-names] if no surname is given.
Parse the string fullname into a vector of [given-names surname], or just [given-names] if no surname is given.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close