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 70a05b4  ingore trailing blanks
70a05b4 is described below

commit 70a05b400849206c81f5e641836d803c5c9a6214
Author: Sam Ruby <[email protected]>
AuthorDate: Thu Mar 22 20:37:36 2018 -0400

    ingore trailing blanks
---
 www/secretary/workbench/views/memapp.json.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www/secretary/workbench/views/memapp.json.rb 
b/www/secretary/workbench/views/memapp.json.rb
index e2cb198..e24ed7b 100644
--- a/www/secretary/workbench/views/memapp.json.rb
+++ b/www/secretary/workbench/views/memapp.json.rb
@@ -5,7 +5,7 @@ meetings = ASF::SVN['private/foundation/Meetings']
 received = Dir["#{meetings}/2*/memapp-received.txt"].sort.last.untaint
 
 # extract contents
-pattern = /^\w+\s+(\w+)\s+(\w+)\s+(\w+)\s+(\w+)\s+(.*)\n/
+pattern = /^\w+\s+(\w+)\s+(\w+)\s+(\w+)\s+(\w+)\s+(.*?)\s*\n/
 table = File.read(received).scan(pattern)
 
 # map contents to a hash

-- 
To stop receiving notification emails like this one, please contact
[email protected].

Reply via email to