lib/ttk/strategies/Authors.rb in ttk-0.1.580 vs lib/ttk/strategies/Authors.rb in ttk-0.2.0
- old
+ new
@@ -1,9 +1,9 @@
# Author:: Marco Tessari <marco.tessari@epita.fr>.
# Copyright:: Copyright (c) 2004, 2005 TTK team. All rights reserved.
# License:: LGPL
-# $Id: Authors.rb 567 2005-04-13 08:00:06Z polrop $
+# $Id: Authors.rb 586 2005-04-30 01:28:29Z ertai $
module TTK
module Strategies
@@ -18,10 +18,10 @@
fail "No '#{author}' file found"
end
authors = []
IO.foreach(author) do |line|
- authors << $1 if line =~ /^\* ([-a-z]{1,6}_[-_a-z\d]).*$/
+ authors << $1 if line =~ /^\* ([-a-z]{1,6}_[-_a-zA-Z\d]).*$/
end
unless authors.include?(@author)
fail "AUTHORS not well formatted"
end