use CGI::Pretty qw(ol li); my $string = "yadda\n[yadda\nyadda]yadda\n"; $string =~ s/\[\s*([^\]]+)\]/ol li[split "\n+",$1]/eg;
jeffa
L-LL-L--L-LL-L--L-LL-L-- -R--R-RR-R--R-RR-R--R-RR B--B--B--B--B--B--B--B-- H---H---H---H---H---H--- (the triplet paradiddle with high-hat)
In reply to (jeffa) Re: automagic-HTML regex
by jeffa
in thread automagic-HTML regex
by Cody Pendant
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |