Changeset 7629

Show
Ignore:
Timestamp:
03/07/08 21:26:06 (9 months ago)
Author:
sho
Message:

platform/tdiary/util/posttdiary/posttdiary.rb: rewind a patch of regexp on changeset 7079.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • platform/tdiary/util/posttdiary/posttdiary.rb

    r7088 r7629  
    161161                img_src = "" 
    162162                @image_name.each do |i| 
    163                         serial = i.sub( /^\d+_(\d+)\./n, '\1' ) 
     163                        serial = i.sub( /^\d+_(\d+)\..*$/n, '\1' ) 
    164164                        img_src += image_format.gsub( /\$0/, serial ).gsub( /\$1/, image_url + i ) 
    165165                end