From 3a2cb0ecfff65f728569edbdcc4e30f027c36d67 Mon Sep 17 00:00:00 2001 From: joey Date: Wed, 26 Jul 2006 22:09:55 +0000 Subject: * Fix CamelCase regexp to not break [[FooBar|BazBar]] WikiLinks. --- IkiWiki/Plugin/camelcase.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'IkiWiki/Plugin') diff --git a/IkiWiki/Plugin/camelcase.pm b/IkiWiki/Plugin/camelcase.pm index 0934b27c2..68d399d77 100644 --- a/IkiWiki/Plugin/camelcase.pm +++ b/IkiWiki/Plugin/camelcase.pm @@ -14,7 +14,7 @@ sub filter (@) { #{{{ # Make CamelCase links work by promoting them to fullfledged # WikiLinks. This regexp is based on the one in Text::WikiFormat. - $params{content}=~s#(?=])\b((?:[A-Z][a-z0-9]\w*){2,})#[[$1]]#g; + $params{content}=~s#(?=])\b((?:[A-Z][a-z0-9]\w*){2,})#[[$1]]#g; return $params{content}; } #}}} -- cgit v1.2.3