OK. I added your "br" templates to my AppSupport. Here are my results. They look correct, right? In other words, dialpad should be able to match that phone number in its 3 string formats to that one contact.
Code:
# ./CheckAppSupport CPPhoneNumberCopyNormalized "(041-21) 8111-2222"
0412181112222
# ./CheckAppSupport CPPhoneNumbersEqual "(041-21) 8111-2222" 0412181112222 br
1
# ./CheckAppSupport CPPhoneNumbersEqual "(041-21) 8111-2222" 81112222 br
1
# ./CheckAppSupport CPPhoneNumbersEqual "(041-21) 8111-2222" 02181112222 br
1
# ./CheckAppSupport decompo*******Number 0412181112222 br
1,"55","041","21","81112222"
# ./CheckAppSupport decompo*******Number 81112222 br
1,"55","","","81112222"
# ./CheckAppSupport decompo*******Number 02181112222 br
1,"55","0","21","81112222"
Bookmarks