From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D3E0B15802F for ; Sat, 11 Mar 2023 20:42:30 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C29F0E07D0; Sat, 11 Mar 2023 20:42:29 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7580AE07E6 for ; Sat, 11 Mar 2023 20:42:29 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 95429340E31 for ; Sat, 11 Mar 2023 20:42:28 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B0C0B8D7 for ; Sat, 11 Mar 2023 20:42:26 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1678567309.2e5d9f8dfacbabb2a929277e8cf0cb83b40aaf60.mgorny@gentoo> Subject: [gentoo-commits] proj/gentoo-syntax:master commit in: syntax/ X-VCS-Repository: proj/gentoo-syntax X-VCS-Files: syntax/glep.vim X-VCS-Directories: syntax/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 2e5d9f8dfacbabb2a929277e8cf0cb83b40aaf60 X-VCS-Branch: master Date: Sat, 11 Mar 2023 20:42:26 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: cb7696a3-faaa-4fa0-b50d-a6ce0fba77a7 X-Archives-Hash: 96ef78cec6a97f0fbaa61679b05fbc3f commit: 2e5d9f8dfacbabb2a929277e8cf0cb83b40aaf60 Author: Anna Vyalkova sysrq in> AuthorDate: Sat Mar 11 15:18:52 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Sat Mar 11 20:41:49 2023 +0000 URL: https://gitweb.gentoo.org/proj/gentoo-syntax.git/commit/?id=2e5d9f8d glep: loosen email regexp Signed-off-by: Anna Vyalkova sysrq.in> Closes: https://github.com/gentoo/gentoo-syntax/pull/56 Signed-off-by: Michał Górny gentoo.org> syntax/glep.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syntax/glep.vim b/syntax/glep.vim index f1ca81c..f72077f 100644 --- a/syntax/glep.vim +++ b/syntax/glep.vim @@ -36,7 +36,7 @@ syn region glepHeaders start=/\%^\(.*:\)\@=/ end=/^$/ contains=glepHeaderKey syn region glepTripleDash start=/\%^---$/ end=/^---$/ contains=glepHeaderKey syn region glepHeaderKey contained start=/^[A-Za-z0-9]/ end=/:/ nextgroup=glepHeaderValue skipwhite syn region glepHeaderValue contained start=/\S/ end=/^\S\|^$/me=e-1 contains=glepHeaderEmail,glepHeaderCVSVar -syn match glepHeaderEmail contained /<[-a-zA-Z0-9\_\.]\+@[-a-zA-Z0-9\_\.]\+>/ +syn match glepHeaderEmail contained /<[^<>@[:space:]]\+@[^<>@.[:space:]]\+\.[^<>@[:space:]]\+>/ syn region glepHeaderCVSVar contained start=/\$\S\+:/ end=/\$/ syn keyword glepTODO TODO FIXME