3 package IkiWiki::Plugin::camelcase;
10 hook(type => "filter", id => "camelcase", call => \&filter);
16 # Make CamelCase links work by promoting them to fullfledged
17 # WikiLinks. This regexp is based on the one in Text::WikiFormat.
19 (?<![[|"/>=]) # try to avoid expanding non-links
20 # with a zero width negative lookbehind for
21 # characters that suggest it's not a link
25 [A-Z] # Uppercase start
26 [a-z0-9] # followed by lowercase
27 \w* # and rest of word
33 return $params{content};