summaryrefslogtreecommitdiff
path: root/japanese/ruby-refe/files/patch-extrefparser.rb
blob: 99043aecdd849c0a7e18b85091f39a9e85fd3245 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- lib/refe/extrefparser.rb.orig	Fri Mar 22 20:21:23 2002
+++ lib/refe/extrefparser.rb	Sun Nov 24 17:22:24 2002
@@ -39,7 +39,7 @@
       f.each do |line|
         next if /\A[=\w]/ === line
         if /\A: / === line then
-          m = /\A: .*?(\w+)\(/.match(line) or
+          m = /\A: .*?(\w+)(\(|$)/.match(line) or
                   raise "parse failed: #{line.inspect}"
           curr = line
           table[ m[1] ] = curr