datafile for regex matching of phone numbers test the following numbers should match: (111) 111 1111 111 222-2222 (111) 333-3333 111 444 4444 foo (111) 555 5555 foo 111 666-6666 foo (111) 777-7777 foo 111 888 8888 foo (111) 999 9999 bar foo 111 000-0000 bar foo (111) 232-1111 bar foo 111 242 1111 bar The following should fail to match: 2(212) 222 2222 2232 222-2222 (242) 222-22222 2252 222 2222 foo (262) 2222222 foo 272 2222222 foo (282) 222-22227 foo 292 222 22222 foo (202).222 2222 bar foo 211@22222222 bar foo (213 222-2222 bar foo 214) 222 2222 bar