#scan doesn't solve the ultimate problem -- being able to backtrack and rescan from an earlier position (a la Perl's pos() function). Scan would work "OK" if it returned an array of MatchData instead of Strings. BTW, my posted code almost works. I meant to say that I wanted to do that without doing "foostr = md.post_match".

#scan creates an intermediate array that doesn't help in a backtracking situation.

-a
-- 
austin ziegler
Sent from my Treo