[Top][All Lists]

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

[Gnu-arch-users] Re: tla1.1 plans

From: Miles Bader
Subject: [Gnu-arch-users] Re: tla1.1 plans
Date: 16 Sep 2003 19:48:16 +0900

"Stephen J. Turnbull" <address@hidden> writes:
>     Miles>   junk \.foo$
>     Miles>   junk \.bar$
>     Miles> ... and have them automatically concatenated into
>     Miles> `\.foo$|\.bar$';
> Except that you don't want to actually concatenate them (except as an
> optimization); it should be possible to interleave them with other types.

Do you mean that it should match the the patterns in the order they
occur in the file, returning the first type that matches?  Does
=tagging-method do that now?

Another thing to wonder about for concatenation is whether rx can
optimize the resulting expressions, in particular, whether it can factor
the trailing `$' out of the or-expression (if not, it would be simple
enough to heuristically optimize a few simple cases resulting from
concatenation before calling rx).

80% of success is just showing up.  --Woody Allen

reply via email to

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