> How about something like '.*regexp'? Since the * is greedy, I guess > that will give the last match, too. Is that efficient? OK, looks like this is fast enough for my purposes. Alex. -- Speak softly but carry a big carrot.