[tr064] Fixed wrong pattern to normalize phone numbers ()

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
This commit is contained in:
Christoph Weitkamp 2021-05-09 20:41:45 +02:00 committed by GitHub
parent 41e24185c7
commit 50e7a44572
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -93,6 +93,6 @@ public class Tr064PhonebookImpl implements Phonebook {
private String normalizeNumber(String number) {
// Naive normalization: remove all non-digit characters
return number.replaceAll("[^0-9]\\+\\*", "");
return number.replaceAll("[^0-9\\*\\+]", "");
}
}