I can't speak intelligently on the index/regex issue (they are both plenty fast for me....), but the first time I saw it mentioned here on PM was in this comment by merlyn.
-Blake
Comment on Re: Re: Re: Re: Parse out the extension of a filename - return base of filename.