diff options
Diffstat (limited to 'lib/sisu/ao_numbering.rb')
-rw-r--r-- | lib/sisu/ao_numbering.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sisu/ao_numbering.rb b/lib/sisu/ao_numbering.rb index 4b48bc39..3956fa4a 100644 --- a/lib/sisu/ao_numbering.rb +++ b/lib/sisu/ao_numbering.rb @@ -401,7 +401,7 @@ module SiSU_AO_Numbering when :extract then Mx[:segname_prefix_auto_num_extract] else '_'*dob.lv.to_i #should not occur end - if possible_seg_name =~/^[0-9]+?\.$/m #!~/[.,:-]+/ + if possible_seg_name.to_s =~/^[0-9]+?\.$/m #!~/[.,:-]+/ possible_seg_name=possible_seg_name. gsub(/\.$/,'') end |