196
197
198
199
200
201
202
203
204
205
|
# File 'lib/x2ch.rb', line 196
def self.parse(url, subject)
threads = []
subject.each_line{|l|
m = l.match(/^(\d+\.dat)<>(.+)\((\d+)\)$/).to_a
if m[0]
threads << Thread.new(url, m[1], m[2], m[3].to_i)
end
}
threads
end
|