Changeset 29574

Show
Ignore:
Timestamp:
02/05/09 19:02:05 (4 years ago)
Author:
isaisstillalive
Message:
  • URL抽出漏れ
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lang/ruby/haikuchat/lib/log.rb

    r29513 r29574  
    3333       
    3434       
    35       NKF.nkf("-Ws", content).split(/(\[\[.*?\]\])|(https?\:[a-zA-Z0-9\.\,%_\-\/\?\=\&\#]+)|(id\:[a-zA-Z][a-zA-Z0-9\-\_]{2,31})/sm).each_with_index do |string, index| 
     35      NKF.nkf("-Ws", content).split(/(\[\[.*?\]\])|(https?\:[a-zA-Z0-9\.\,%_\-\/\?\=\&\#\@\*\+\:\%]+)|(id\:[a-zA-Z][a-zA-Z0-9\-\_]{2,31})/sm).each_with_index do |string, index| 
    3636        if index%2 == 0 
    3737          append string, 0xCCCCCC