| Have to see how good that works in Germany. Prefixes/area codes are different length: +49 30 ... -> Berlin
+49 221 .... -> Cologne
+49 2389 ... -> Small town where I grew up If you solve that, you'll notice that the number afterwards has the same problems on a bigger scale. Some (especially small towns) have 3 or 4 digit local phone numbers. Big cities go up to 7 (Or more? No idea, but I know numbers from 3 to 7 digits in length). And length varies within the same area code. So (area) 1234 might be valid, as is (area) 12356. I fail to see how that could work reliably. Thanks for the link - now I'm trying to figure out what they know that I don't. :) Edit: Skimmed the project. They have a binary (protobuf?) file for phone number metadata which seems to be a huuuge number of regular expressions. For the reasons listed above I claim that that way you cannot find out if a number is 'done' typing using this library. Looking plausible? Yes. But you cannot replace the dial button in DE for all I can tell. |
Timezone data is a (smaller) mess, but that has been encoded in a library.