mirror of
https://github.com/neovim/neovim.git
synced 2026-02-19 09:58:32 +00:00
The username/group/netgroup patterns used \l\+ which only matched
lowercase letters. Linux usernames commonly contain hyphens, digits,
and underscores (e.g. www-data, deploy01, test_user).
Update the pattern to \l[-a-z0-9_]* to allow matching the additional
characters "-_" and numbers.
fixes: vim/vim#18963
closes: vim/vim#19396
a39d7c2617
Co-authored-by: Bozhidar Batsov <bozhidar@batsov.dev>