On Wed, 11 Apr 2007 02:12:09 +0900, Emmanuel <emmanuel / lijasdoblea.com> wrote:
> I became a little worried since i'm making hevy use of regexes in a
> program of mine that shortly i'll have to run on each of thousands of
> text files.

Ruby's regexp implementation is a backtracking matcher similar to Perl's -- while the article's criticism is valid, you should be fine if you write your regular expressions to minimize the amount of backtracking required.

(The author's point is that such care is unnecessary with an NFA-based regexp implementation.)

-mental