# File linkbot.rb, line 198 def process s str = s.to_s puts "[link.process] str=="#{str}" str.strip! str.sub!(/^\[/, '') str.sub!(/\]$/, '') str.sub!(/^(?:"|')/, '') str.sub!(/(?:"|')$/, '') str.sub!(/\.$/, '') str.sub!(/;$/, '') str.sub!(/,$/, '') str.sub!(/!$/, '') str.sub!(/\?$/, '') puts "[link.process] str=="#{str}" return str end