[Top][All Lists]

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

Re: Scan of regexps in Emacs (March 17)

From: Paul Eggert
Subject: Re: Scan of regexps in Emacs (March 17)
Date: Tue, 19 Mar 2019 18:53:21 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.1

Thanks for proofreading that. I installed the attached to try to fix the problems you noted.

I also fixed a couple of other problems if I happened to run across them. First, the regexp [a-b-c] is ambiguous according to POSIX, and should be avoided. Second, a regexp like [[:alnum:]-z] is also ambiguous for the same reason. Perhaps these regexps currently have a particular behavior in Emacs but it's not documented as far as I know and code should avoid them. Perhaps the trawler could be modified to catch them.

Attachment: 0001-More-minor-regex-cleanup.patch
Description: Text Data

reply via email to

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