Common functions for field matching
Common functions for field matching
(field match f index-of-alternate)
Extract individual type field or supply an alternate substitute
Extract individual type field or supply an alternate substitute
(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.
(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
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close