1.2.0 permalink Arrow_down_16x16

camel-compound-prefix-match?

swank.commands.contrib.swank-c-p-c.internal

  • (camel-compound-prefix-match? prefix target)
Uses camel case as a delimiter for a compound prefix match check.

See also: `compound-prefix-match?'

0 Examples top

Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source swank/commands/contrib/swank_c_p_c/internal.clj:40 top

(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)))
Vars in swank.commands.contrib.swank-c-p-c.internal/camel-compound-prefix-match?: defn re-seq
Used in 0 other vars

Comments top

No comments for camel-compound-prefix-match?. Log in to add a comment.