Mercurial > hg > soundsoftware-site
diff extra/soundsoftware/reposman-soundsoftware.rb @ 1445:0c7b3bb73517 live
Fix underscores in idents (and make regex the same in both places it's used)
author | Chris Cannam |
---|---|
date | Tue, 22 Oct 2013 10:56:02 +0100 |
parents | 1d1cb01c0417 |
children |
line wrap: on
line diff
--- a/extra/soundsoftware/reposman-soundsoftware.rb Fri Oct 11 16:42:55 2013 +0100 +++ b/extra/soundsoftware/reposman-soundsoftware.rb Tue Oct 22 10:56:02 2013 +0100 @@ -263,7 +263,7 @@ if project.identifier.empty? log("\tno identifier for project #{project.name}!") next - elsif not project.identifier.match(/^[a-z0-9\-_]+$/) + elsif not project.identifier.match(/^[a-z0-9_\-]+$/) log("\tinvalid identifier for project #{project.name} : #{project.identifier}!"); next; end