wiki_link_regexp => qr{
\[\[ # beginning of link
(?:
- ([^\]\|\n]+) # 1: link text
+ ([^\]\|\n]+) # 1: link text
\| # followed by '|'
)? # optional
my @ret=(
filter => sub {
my $text_ref = shift;
- ${$text_ref} = Encode::decode_utf8(${$text_ref});
+ ${$text_ref} = decode_utf8(${$text_ref});
},
filename => $filename,
loop_context_vars => 1,