|
|
| XP is just a number | |
| PerlMonks |
(jeffa) Re: Regex helpby jeffa (Chancellor) |
| on Oct 01, 2002 at 19:54 UTC ( #202091=note: print w/ replies, xml ) | Need Help?? |
|
I have used this one with good success in the past: it only works on a scalar, so you will need to slurp your entire JS code into a scalar first. I am sure others have better regexes, but i thought i should share. :) UPDATE: 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 Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||