You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by ru...@apache.org on 2017/12/03 23:15:04 UTC

[whimsy] branch master updated: handle unicode space characters too

This is an automated email from the ASF dual-hosted git repository.

rubys pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git


The following commit(s) were added to refs/heads/master by this push:
     new d40ecf3  handle unicode space characters too
d40ecf3 is described below

commit d40ecf360a0a38ade3f9b333225ee5eee7ee9142
Author: Sam Ruby <ru...@intertwingly.net>
AuthorDate: Sun Dec 3 18:14:43 2017 -0500

    handle unicode space characters too
---
 lib/whimsy/asf/agenda/special.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/whimsy/asf/agenda/special.rb b/lib/whimsy/asf/agenda/special.rb
index be39442..ce536de 100644
--- a/lib/whimsy/asf/agenda/special.rb
+++ b/lib/whimsy/asf/agenda/special.rb
@@ -68,7 +68,7 @@ class ASF::Board::Agenda
       next if @quick
 
       asfid = '[a-z][-.a-z0-9_]+' # dot added to help detect errors
-      list_item = '^\s*(?:[-*\u2022]\s*)?(.*?)\s+'
+      list_item = '^[[:space:]]*(?:[-*\u2022]\s*)?(.*?)[[:space:]]+'
 
       people = text.scan(/#{list_item}\((#{asfid})\)\s*$/)
       people += text.scan(/#{list_item}\((#{asfid})(?:@|\s*at\s*)

-- 
To stop receiving notification emails like this one, please contact
['"commits@whimsical.apache.org" <co...@whimsical.apache.org>'].