2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-22 20:24:36 +00:00

FB_CALLMONITOR: reverse-search give error when provider has a result, but regexp is outdated.

git-svn-id: https://svn.fhem.de/fhem/trunk@4782 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
markusbloch 2014-02-01 12:57:29 +00:00
parent 31b8883c56
commit 6a23a98ead

View File

@ -414,7 +414,7 @@ if(AttrVal($name, "reverse-search", "none") eq "all" or AttrVal($name, "reverse-
undef($result); undef($result);
return $invert_match; return $invert_match;
} }
else elsif(not $result =~ /Leider wurde zu Deiner Suche kein Eintrag gefunden/)
{ {
Log3 $name, 3, "FB_CALLMONITOR: the reverse search result for $number could not be extracted from klicktel.de. Please contact the FHEM community."; Log3 $name, 3, "FB_CALLMONITOR: the reverse search result for $number could not be extracted from klicktel.de. Please contact the FHEM community.";
} }
@ -448,7 +448,7 @@ if(AttrVal($name, "reverse-search", "none") eq "all" or AttrVal($name, "reverse-
undef($result); undef($result);
return $invert_match; return $invert_match;
} }
else elsif(not $result =~ /wir konnten keine Treffer finden/)
{ {
Log3 $name, 3, "FB_CALLMONITOR: the reverse search result for $number could not be extracted from dasoertliche.de. Please contact the FHEM community."; Log3 $name, 3, "FB_CALLMONITOR: the reverse search result for $number could not be extracted from dasoertliche.de. Please contact the FHEM community.";
} }
@ -482,7 +482,7 @@ if(AttrVal($name, "reverse-search", "none") eq "search.ch")
undef($result); undef($result);
return $invert_match; return $invert_match;
} }
else elsif(not $result =~ /Keine Eintr.ge gefunden/)
{ {
Log3 $name, 3, "FB_CALLMONITOR: the reverse search result for $number could not be extracted from search.ch. Please contact the FHEM community."; Log3 $name, 3, "FB_CALLMONITOR: the reverse search result for $number could not be extracted from search.ch. Please contact the FHEM community.";
} }
@ -523,7 +523,7 @@ if(AttrVal($name, "reverse-search", "none") eq "dasschnelle.at")
undef($result); undef($result);
return $invert_match; return $invert_match;
} }
else elsif(not $result =~ /Es wurden keine passenden Eintr.ge gefunden/)
{ {
Log3 $name, 3, "FB_CALLMONITOR: the reverse search result for $number could not be extracted from dasschnelle.at. Please contact the FHEM community."; Log3 $name, 3, "FB_CALLMONITOR: the reverse search result for $number could not be extracted from dasschnelle.at. Please contact the FHEM community.";
} }