Commit 4ee40f32 authored by Karl Hasselbring's avatar Karl Hasselbring

Fehler in der Erkennung von Phrasensuchen behoben

parent c0e81fde
......@@ -1124,7 +1124,7 @@ class MetaGer
$p = "";
$tmp = $this->q;
// matches '[... ]"test satz"[ ...]'
while (preg_match("/(^|.*?\s)\"(\S+)\"(\s.*|$)/si", $tmp, $match)) {
while (preg_match("/(^|.*?\s)\"(.+)\"(\s.*|$)/si", $tmp, $match)) {
$tmp = $match[1] . $match[3];
$this->phrases[] = $match[2];
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment