$code =~ s{\[table\](.*?)\[\/table\]}{process_table($1)}ges; sub process_table { my $in = $_[0]; print qq|fgot: $in \n|; }
In reply to Re^2: [table] regex
by ultranerds
in thread [table] regex
by ultranerds
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |