All you need to do here is add the zero-width negative look-behind assertion and you are go to go. Think of this as a 'helping you help yourself' solution. ;)$str =~ s/%q//g;
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 Re: regex match question
by jeffa
in thread regex match question
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |