Allow version or build numbers

unstable
sinn3r 2012-12-13 12:47:36 -06:00
parent 438c18472e
commit d90d41d706
1 changed files with 1 additions and 1 deletions

View File

@ -212,7 +212,7 @@ class Msftidy
if @source =~ /'Name'[[:space:]]*=>[[:space:]]*['|"](.+)['|"],*$/
words = $1.split
words.each do |word|
if word =~ /^['"].+['"]$/ or word =~ /^[a-z].*[A-Z].+$/ or word =~ /^.+\(\)$/
if word =~ /^['"].+['"]$/ or word =~ /^[a-z].*[A-Z].+$/ or word =~ /^.+\(\)$/ or word =~ /^[vb][\d\.\-r]+$/
next
elsif %w{and or the for via to}.include?(word)
next