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

sebb 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 92440cd  Names may be all lower-case
92440cd is described below

commit 92440cdd7b8c7f5cdf9a91637a32d1984d0080fc
Author: Sebb <[email protected]>
AuthorDate: Fri Nov 20 23:10:45 2020 +0000

    Names may be all lower-case
---
 lib/whimsy/asf/podling.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/whimsy/asf/podling.rb b/lib/whimsy/asf/podling.rb
index d823ef5..382afc1 100644
--- a/lib/whimsy/asf/podling.rb
+++ b/lib/whimsy/asf/podling.rb
@@ -423,7 +423,7 @@ module ASF
           name.sub! /^Apache\s+/, ''
           name.gsub! /\s+\(.*?\)/, ''
           name.sub!('Open Climate Workench', 'Open Climate Workbench') # fix 
up typo in PODLINGNAMESEARCH-26
-          name = nil if name =~ /^\s*This/ or name !~ /[A-Z]/ or name =~ 
%r{^N/A}
+          name = nil if name =~ /^\s*This/ or name !~ /[A-Za-z]{3}/ or name =~ 
%r{^N/A}
         end
 
         name ||= title[/"Apache ([a-zA-Z].*?)"/, 1]

Reply via email to