[Top][All Lists]

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

Re: icalendar.el bug fix patch

From: Paul Eggert
Subject: Re: icalendar.el bug fix patch
Date: Fri, 1 Nov 2019 14:19:30 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.1.1

On 11/1/19 6:33 AM, Eli Zaretskii wrote:
you would have to write "\\(?:.\\|\n\\)" which is slower and messier, although 
perhaps easier to understand.
Yes, it's easier to understand, so I prefer that we use it.

I find "[^z-a]" to be signficantly easier to understand than "\\(?:.\\|\n\\)".

But since the concept is useful, how about if we create an escape for it? For example, we could establish \! as a regexp that matches any single character. This be more readable than either [^z-a] or \(?:.\|
\), and would surely help performance as well as readability.

reply via email to

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