Liking cljdoc? Tell your friends :D

uap-clj.common

Common functions for field matching

Common functions for field matching
raw docstring

fieldclj

(field match f index-of-alternate)

Extract individual type field or supply an alternate substitute

Extract individual type field or supply an alternate substitute
raw docstring

first-matchclj

(first-match ua regexes)

The uaparser/core specification indicates that for each type (browser, o/s, device), the first successful match for a regex in regexes.yaml shall be used.

If no regex successfully matches, then 'Other' is returned, which later is used as the 'family' replacement for each of the types.

The uaparser/core specification indicates that for each type
(browser, o/s, device), the first successful match for a regex
in regexes.yaml shall be used.

If no regex successfully matches, then 'Other' is returned, which
later is used as the 'family' replacement for each of the types.
raw docstring

match-with-contextclj

(match-with-context line regex)

Return match result with match groups & regex replacement map, along with original useragent string

Return match result with match groups & regex replacement map,
along with original useragent string
raw docstring

regexes-allclj

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close