Uses camel case as a delimiter for a compound prefix match check.
See also: `compound-prefix-match?'
(defn camel-compound-prefix-match?
"Uses camel case as a delimiter for a compound prefix match check.
See also: `compound-prefix-match?'"
([#^String prefix #^String target]
(compound-prefix-match? #(re-seq #"(?:^.|[A-Z])[^A-Z]*" %)
prefix
target)))
Comments top
No comments for camel-compound-prefix-match?. Log in to add a comment.