(
 {}
 
 "650-283-4757"
 "+1 6502834757"
 "+33 4 76095663"
 "06 2070 2220"
 "(650)-283-4757 ext 897"
 (fn [token _] (and (= :phone-number (:dim token))
                    (= (:text token) (:val token))))
 
 ""
 ""
 "www.bla.com:8080/path"
 ""
 "cnn.com/info"
 "bla.com/path/path?ext=%23&foo=bla"
 "localhost"
 "localhost:8000"
 "" ; local url
 (fn [token _] (and (= :url (:dim token))
                    (= (:text token) (:val token))))
 
 ""
 ""
 (fn [token _] (and (= :email (:dim token))
                    (= (:text token) (:val token))))
 
 )
 local url
(
 {}
 
 "650-283-4757"
 "+1 6502834757"
 "+33 4 76095663"
 "06 2070 2220"
 "(650)-283-4757 ext 897"
 (fn [token _] (and (= :phone-number (:dim token))
                    (= (:text token) (:val token))))
 
 ""
 ""
 "www.bla.com:8080/path"
 ""
 "cnn.com/info"
 "bla.com/path/path?ext=%23&foo=bla"
 "localhost"
 "localhost:8000"
 (fn [token _] (and (= :url (:dim token))
                    (= (:text token) (:val token))))
 
 ""
 ""
 (fn [token _] (and (= :email (:dim token))
                    (= (:text token) (:val token))))
 
 )