diff options
author | Ralph Amissah <ralph@amissah.com> | 2013-06-22 01:18:03 -0400 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2013-06-22 01:18:03 -0400 |
commit | 6bf6c320b8ad2cb5aa588575565af70b437aa322 (patch) | |
tree | b2c92c4b75de5c9dcbfb6639e56aac38cf545e67 /lib/sisu/v5/dal_idx.rb | |
parent | debian/changelog (4.1.4-1) (diff) | |
parent | v5: general code cleaning (diff) |
Merge tag 'sisu_4.1.5' into debian/sid
SiSU 4.1.5
Diffstat (limited to 'lib/sisu/v5/dal_idx.rb')
-rw-r--r-- | lib/sisu/v5/dal_idx.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/sisu/v5/dal_idx.rb b/lib/sisu/v5/dal_idx.rb index 67f2805d..b87797bc 100644 --- a/lib/sisu/v5/dal_idx.rb +++ b/lib/sisu/v5/dal_idx.rb @@ -130,7 +130,7 @@ module SiSU_DAL_BookIndex idx_lst=idx[:rough_idx].scan(/[^|:]+/) idx_lst[0]=idx_lst[0].strip if idx_lst[0] =~/.+?\+\d+/ - use,plus=/(.+?)\+(\d+)/.match(idx_lst[0])[1,2] + use=/(.+?)\+(?:\d+)/.match(idx_lst[0])[1] else use=idx_lst[0] end use=use[0].chr.capitalize + use[1,use.length] @@ -282,7 +282,6 @@ module SiSU_DAL_BookIndex end end end - idx @x +=1 end end |