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

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

bug#36167: [PATCH] Replace manually crafted hex regexes with [[:xdigit:]


From: Paul Eggert
Subject: bug#36167: [PATCH] Replace manually crafted hex regexes with [[:xdigit:]]
Date: Tue, 11 Jun 2019 08:37:42 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0

On 6/11/19 7:37 AM, Konstantin Kharlamov wrote:
this probably could be replaced with [[[:digit:]]xXzZ] (didn't test this one).

That's right, though it should be [[:xdigit:]xXzZ].

But I imagine such change may better be a separate patch, as it's somewhat different from all the other changes.

No, it's basically the same thing; we're looking for any place that [:xdigit:] would be useful in clarifying patterns intended to max hexadecimal digits (and perhaps some other things). Also, the skip-chars arguments are also the same thing. Let's do all these.






reply via email to

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