From a2ff8b41891ea7984ee7edb0796db486592e59aa4d0293b31d1f397fe352cde8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Tue, 18 Oct 2011 19:22:51 +0000 Subject: [PATCH] Accepting request 88555 from home:dirkmueller:branches:editors - fix detection of email addresses in .changes files OBS-URL: https://build.opensuse.org/request/show/88555 OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=64 --- vim-7.3-filetype_changes.patch | 4 ++-- vim.changes | 5 +++++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/vim-7.3-filetype_changes.patch b/vim-7.3-filetype_changes.patch index 4e82fcb..f4864ff 100644 --- a/vim-7.3-filetype_changes.patch +++ b/vim-7.3-filetype_changes.patch @@ -37,8 +37,8 @@ diff -rupN vim73.orig/runtime/syntax/changes.vim vim73/runtime/syntax/changes.vi +" Highlights +syn match ChangesDate "^[A-Z][a-z][a-z] [A-Z][a-z][a-z] [ 0-9][0-9] [0-9:]\{8\} [A-Z]\+ [0-9]\+" +syn match ChangesDate "^[A-Z][a-z][a-z] [A-Z][a-z][a-z] [ 0-9][0-9] [0-9:]\{8\} [0-9]\+" -+syn match ChangesMail " - \<[a-zA-Z\.]\+@[a-zA-Z\.]\+\>$" -+syn match ChangesMailText "\<[a-zA-Z\.]\+@[a-zA-Z\.]\+\>" ++syn match ChangesMail " - \<[[:alnum:\.]\+@[[:alnum:]\.]\+\>$" ++syn match ChangesMailText "\<[[:alnum:]\.]\+@[[:alnum:]\.]\+\>" +syn match ChangesSeparator "^-\{40,78\}$" +syn match ChangesBug "#[0-9]\+\>" + diff --git a/vim.changes b/vim.changes index 3d49868..0ffb8a9 100644 --- a/vim.changes +++ b/vim.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Oct 18 17:16:30 CEST 2011 - dmueller@suse.de + +- fix detection of email addresses in .changes files + ------------------------------------------------------------------- Thu Sep 22 09:14:38 UTC 2011 - idonmez@suse.com