[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnu-arch-users] Preventing matches in regular expressions

From: Aaron Bentley
Subject: Re: [Gnu-arch-users] Preventing matches in regular expressions
Date: Wed, 11 Aug 2004 15:35:50 -0400
User-agent: Mozilla Thunderbird 0.5 (X11/20040309)

Tom Lord wrote:
Currently the `inventory' categorization model is, in essense, a very
specific `find(1)' expression.  Reinterpreting the categorization
model as a `lex'-like lexer specification is possible, desirable, and
only a small change (measured in modified LOCs).

Well, it sounds like a good idea to me too.

    > Well, first we need to fix the cut operator handling.

Maybe my recollection is wrong.   I thought that the only issue,
really, was that the Posix code was conservatively deciding that it needed to use backtracking matching in some case where it doesn't
really have to.   I.e., wasn't it something like finding the right
line of code and changing a 0 to a 1 to turn on the optimization?

I think so, but I'm just going on my vague recollection of our discussion.

Rx is kind of hairy, to be sure.   I'm looking forward to rewriting it
xl someday :-)   But I think this particular change is pretty

This is what you characterized as The Lightbulb in a recent email, right? Small change, big repurcussions for screwup?


Aaron Bentley
Director of Technology
Panometrics, Inc.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]