mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-10 09:16:53 +00:00
fixing regex race condition
git-svn-id: https://svn.fhem.de/fhem/trunk@2425 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
b127c2384f
commit
a3c88cc947
@ -478,7 +478,7 @@ sub FB_CALLMONITOR_loadInternalPhonebookFile($)
|
||||
$contact_name = $1;
|
||||
Log GetLogLevel($name, 4), "FB_CALLMONITOR: $name found $contact_name";
|
||||
|
||||
while($contact =~ m/<number[^>]+?type="(\w+?)"[^>]*?>(.+?)<\/number>/gs)
|
||||
while($contact =~ m/<number[^>]*?type="([^<>"]+?)"[^<>]*?>([^<>"]+?)<\/number>/gs)
|
||||
{
|
||||
if($1 ne "intern" and $1 ne "memo")
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user