in reply to Splitting 2 different patterns
It appears that you simply want to capture all things that can be matched by \w+:
perl -le'$_="xe-2/2/0";print for $_ =~ /(\w+)/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)
|
|---|