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

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

View File

@@ -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\\*\\+]", "");
}
}