in reply to Re^2: simple regexp problem
in thread simple regexp problem
Which is exactly why the original poster should be capturing the output into an array instead of multiple sequentially numbered scalars.
I think split is a very good and acceptable solution for this problem.
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)
|
|---|