2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 12:49:34 +00:00

FB_CALLMONITOR: fixed reverse-search for search.ch

git-svn-id: https://svn.fhem.de/fhem/trunk@8043 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
markusbloch 2015-02-19 21:14:42 +00:00
parent 184c2533fa
commit d9bf135106
2 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,6 @@
# Add changes at the top of the list. Keep it in ASCII, and 80-char wide.
# Do not insert empty lines here, update check depends on it.
- bugfix: FB_CALLMONITOR: fixed reverse-search for search.ch
- feature: help is now a separate module
- feature: pahColor() added to Color.pm to convert temperatures
into rgb values. See forum thread #30128

View File

@ -541,7 +541,7 @@ FB_CALLMONITOR_reverseSearch($$)
else
{
#Log 2, $result;
if($result =~ /<h5><a href=".*?" class="fn(?: org)?">(.+?)<\/a><\/h5>/)
if($result =~ /<section[^>]*>.*?<h1>(.+?)<\/h1>.*?<\/section>/s)
{
$invert_match = $1;
$invert_match = FB_CALLMONITOR_html2txt($invert_match);