lib/amakanize.rb in amakanize-0.4.0 vs lib/amakanize.rb in amakanize-0.4.1
- old
+ new
@@ -20,14 +20,14 @@
require "amakanize/series_name"
require "amakanize/version"
module Amakanize
PATTERN_OF_NUMERIC_CHARACTERS = /
- \d+
+ \d+(?:\.\d+)?
|[ivx]+
|[IVX]+
- |[0-9]+
+ |[0-9]+(?:.[0-9]+)?
|①
|②
|③
|④
|⑤
@@ -42,11 +42,11 @@
PATTERN_OF_VOLUME_PREFIX = /
episode\.?\s*
|Episode\.?\s*
|EPISODE\.?\s*
|Lv\.?\s*
- |volume\.?\s*
- |Volume\.?\s*
- |VOLUME\.?\s*
+ |vol(?:ume)?\.?\s*
+ |Vol(?:ume)?\.?\s*
+ |VOL(?:UME)?\.?\s*
|第
/x
end