diff options
author | 2023-03-11 21:50:52 +0500 | |
---|---|---|
committer | 2023-03-11 21:41:48 +0100 | |
commit | 1cf5f4e1a4fa7f745b16e118a48e060d0f98ec2b (patch) | |
tree | 7b1a5eb862873dff270ff46df0f6a1b6abe59fb3 | |
parent | syntax/ebuild.vim: Add support for check-reqs.eclass (diff) | |
download | gentoo-syntax-1cf5f4e1a4fa7f745b16e118a48e060d0f98ec2b.tar.gz gentoo-syntax-1cf5f4e1a4fa7f745b16e118a48e060d0f98ec2b.tar.bz2 gentoo-syntax-1cf5f4e1a4fa7f745b16e118a48e060d0f98ec2b.zip |
gentoo-package-common: loosen email regexp
Signed-off-by: Anna Vyalkova <cyber+gentoo@sysrq.in>
Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r-- | syntax/gentoo-package-common.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/syntax/gentoo-package-common.vim b/syntax/gentoo-package-common.vim index fb258c5..1d17d59 100644 --- a/syntax/gentoo-package-common.vim +++ b/syntax/gentoo-package-common.vim @@ -13,7 +13,7 @@ runtime syntax/gentoo-common.vim syn region GentooPackageComment start=/#/ end=/$/ \ contains=GentooPackageEmail,GentooPackageDate,GentooBug -syn match GentooPackageEmail contained /<[a-zA-Z0-9\-\_]\+@[a-zA-Z0-9\-\_\.]\+>/ +syn match GentooPackageEmail contained /<[^<>@[:space:]]\+@[^<>@.[:space:]]\+\.[^<>@[:space:]]\+>/ syn match GentooPackageDate contained /(\(\d\d\?\s\w\+\|\w\+\s\d\d\?\)\s\d\{4\})/ syn match GentooPackageAtom /^[\ \t]*[^ \t\n#]\+\S*\/\S\+/ |