Skip to content
Snippets Groups Projects

Resolve "Phrasensuche geht nicht"

Merged Ghost User requested to merge 848-phrasensuche-geht-nicht into development
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
+ 1
1
@@ -1124,7 +1124,7 @@ class MetaGer
@@ -1124,7 +1124,7 @@ class MetaGer
$p = "";
$p = "";
$tmp = $this->q;
$tmp = $this->q;
// matches '[... ]"test satz"[ ...]'
// 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];
$tmp = $match[1] . $match[3];
$this->phrases[] = $match[2];
$this->phrases[] = $match[2];
}
}
Loading