Permalink
Browse files

Merge pull request #2 from dzfl/master

スレタイ候補走査で止まるの修正
  • Loading branch information...
2 parents 9c1ab97 + 92c5051 commit ca0ea8683f7362733e107bf6198829d02ea91a6b @cho45 committed Nov 23, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 examples/2ch.rb
View
@@ -148,7 +148,7 @@ def guess_next_thread
uri = "http://#{@uri.host}/test/read.cgi/#{@board}/#{dat}/"
- subject, n = */(.+?) \((\d+)\)/.match(rest).captures
+ subject, n = */(.*?) \((\d+)\)/.match(rest).captures
canonical_subject = canonicalize_subject(subject)
thread_rev = canonical_subject[/\d+/].to_i

0 comments on commit ca0ea86

Please sign in to comment.