Skip to content

How it works

Google publishes its phone-number rules as regular expressions. Most libraries ship those tables and run them at request time, which is slow and drifts from the source as the tables are maintained by hand.

Telixon compiles that metadata into a single binary finite-state automaton. A recognition DFA decides validity and number type; finite-state transducers resolve the region and pick the format. Every query is one backtracking-free, linear-time walk.

That is why it stays exact, fast, and identical on every run. The compiled data is compressed and stays out of your bundle, loaded once, when you choose.