diff options
author | Raine Virta <rane@kapsi.fi> | 2009-10-21 18:52:41 +0300 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2009-10-21 19:03:51 +0200 |
commit | 402c66aa5228f734e88abd7b3cdc482f71239553 (patch) | |
tree | debcca2eae2274e17abeab721cea5ab0729089fb /lib/rbot | |
parent | 49ddfa785796f3ae4550ace918fd8282bd91e42a (diff) |
urban: fix page detection logic
numpages = s[%r{<div id='paginator'>.*?</div>}m].scan(/\d+/)
^
produces an error when regex returns nil
Diffstat (limited to 'lib/rbot')
0 files changed, 0 insertions, 0 deletions