emacs-devel
[Top][All Lists]
Advanced

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

Re: commit-msg hook


From: Eli Zaretskii
Subject: Re: commit-msg hook
Date: Tue, 14 Apr 2015 20:09:42 +0300

> Date: Tue, 14 Apr 2015 10:01:12 -0700
> From: Paul Eggert <address@hidden>
> CC: address@hidden
> 
> On 04/14/2015 08:08 AM, Eli Zaretskii wrote:
> > +    non_print = 
> > "[\1-\37\177]|\302[\200-\237]|\355([\240-\257]|[\260-\277])[\200-\277]"
> 
> This sort of thing should work in a unibyte environment, but it needs to 
> be used only after testing that we actually are in a unibyte environment.

I thought that's what all the tests with cent_sign and at_sign do,
don't they?

Anyway, what bad things could happen if this regular expression is
used in a multibyte environment?



reply via email to

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