Permalink
Browse files

Bugfix: I seem to have accidentally added spaces where they dont belo…

…ng and not noticed :-S
  • Loading branch information...
apeiros committed Aug 10, 2012
1 parent 422c7e7 commit 93571fc439227d0e70383faddc4d34d4d83e720c
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/swissmatch/zipcodes.rb
@@ -73,7 +73,7 @@ def [](key, add_on=nil)
case add_on
when nil
by_code(key.to_i)
- when 0..99, /\A\d+ \z/
+ when 0..99, /\A\d+\z/
by_code_and_add_on(key.to_i, add_on.to_i)
when String
by_code_and_name(key.to_i, add_on)

0 comments on commit 93571fc

Please sign in to comment.