diff --git a/FHEM/72_FB_CALLMONITOR.pm b/FHEM/72_FB_CALLMONITOR.pm index 6acda5cb0..9876a90e1 100755 --- a/FHEM/72_FB_CALLMONITOR.pm +++ b/FHEM/72_FB_CALLMONITOR.pm @@ -478,7 +478,7 @@ sub FB_CALLMONITOR_loadInternalPhonebookFile($) $contact_name = $1; Log GetLogLevel($name, 4), "FB_CALLMONITOR: $name found $contact_name"; - while($contact =~ m/]+?type="(\w+?)"[^>]*?>(.+?)<\/number>/gs) + while($contact =~ m/]*?type="([^<>"]+?)"[^<>]*?>([^<>"]+?)<\/number>/gs) { if($1 ne "intern" and $1 ne "memo") {