[Top][All Lists]

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

Re: :alnum: broken?

From: Eli Zaretskii
Subject: Re: :alnum: broken?
Date: Wed, 26 Feb 2020 22:38:03 +0000
User-agent: K-9 Mail for Android

On February 26, 2020 10:01:24 PM GMT, "Mattias Engdegård" <address@hidden> 
> 26 feb. 2020 kl. 22.24 skrev Clément Pit-Claudel
> <address@hidden>:
> > I think your patch disallows thing like [:-:], which grep allows.
> Very well, I've now made it more forgiving in this respect. Thank you!
> Paul, I believe I misunderstood you at first; the change does not
> check for POSIX equivalence classes or collation elements, on the
> grounds that these are not accepted syntax in Emacs regexps anyway. If
> you think it really is worth the trouble to add the analysis then say
> so, but there is a smell of gold-plating (mixing metaphors) here.

Please revert these changes.  I already said that I wasn't interested in making 
these regular expressions signal an error.

 If we want to flag these as potential mistakes, let's make the byte compiler 
warn about them, as Richard proposed.  But I'm against making this a run-time 


reply via email to

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