emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: extended rx.el


From: Richard Stallman
Subject: Re: extended rx.el
Date: Tue, 27 Apr 2004 12:29:33 -0400

    Since a character is a valid SEXP/CLAUSE, if you try to unify them,
    you can't disambiguate `(repeat N M SEXP ...)' from
    `(repeat N CHARACTER SEXP ...)', so the Rx version of `repeat' can't
    allow multiple SEXP args.

It can allow multiple SEXP args when two numbers come first.  In other
words, if there are three or more arguments, always treat the first
two as N and M.

That appears to be sufficient to cover the Sregex behavior
as well as the Rx behavior.  Is there something I am missing?





reply via email to

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