floere / phony

E164 international phone number normalizing, splitting, formatting.
http://florianhanke.com/phony/
MIT License
1.01k stars 226 forks source link

Rule too restrictive for Austria #358

Closed Olivier4murs closed 2 years ago

Olivier4murs commented 7 years ago

Important fact: Phony only works with international phone numbers. It needs the country code to be able to identify the number's country and rules.

What I did

What happened

What I expected to happen and why

I tried to fix austria.rb :

Thanks

floere commented 7 years ago

Hi @Olivier4murs! What happened when you changed it to one_of(ndcs) >> split(3..10)?