Thanks for the excellent reference -- that discussion is quite to the point. I guess I should run a benchmark to figure which is actually faster: multiple index() or hand-optimized regex... I worried about the regex that by adding too many parenthesis it would further bog it down, but until I try I guess there's no way to know.
j