in reply to Re^2: Regex to match between [ref] and [/ref]
in thread Regex to match between [ref] and [/ref]
I forgot this because the tagname is 'code', and my brain probably refused to duplicate a word. Please report, if you find any further bugs or documentation issues.tagname => { code => sub { ... }, },
edit: so that means it must be:
my $p = Parse::BBCode->new({ tags => { ... code => { code => sub { my ($parser, $attr, $content, $attribute_fallback) = @ +_; }, }, ...
|
|---|