emacs-devel
[Top][All Lists]
Advanced

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

Re: master 893111f 2/2: Hide passwords in .authinfo and .netrc files


From: Amin Bandali
Subject: Re: master 893111f 2/2: Hide passwords in .authinfo and .netrc files
Date: Sat, 21 Sep 2019 10:05:36 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

address@hidden (Lars Ingebrigtsen) writes:

> +      (while (re-search-forward "\\bpassword +\\([^\n\t ]+\\)"

Would it make more sense to use '\s-' rather than '\b' here?  With '\b',
it will match the ‘password’ in an entry like `gnus-canlock-password'
and thus wrongly add the display property to the next word, in this case
“password”, rather than to the actual password itself.



reply via email to

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