Changeset 2786

Show
Ignore:
Timestamp:
12/07/07 17:00:52 (5 years ago)
Author:
cho45
Message:

lang/ruby/misc/mork.rb:

Fixed [ruby-list:44323] Re: mork.rb

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lang/ruby/misc/mork.rb

    r824 r2786  
    8585        def parse_table(table_part) 
    8686                table_part.gsub!(/\s+/, "") 
    87                 re = %r/[^[]*   \[  # find a "[" 
    88                       ( [^]]+ ) \]  # capture up to "]" 
     87                re = %r/[^\[]*   \[  # find a "[" 
     88                      ( [^\]]+ ) \]  # capture up to "]" 
    8989                       /x 
    9090                table_part.scan(re) do |m,|