Commit 4a0e1056 authored by Dominik Hebeler's avatar Dominik Hebeler

Merge branch '848-phrasensuche-geht-nicht' into 'development'

Resolve "Phrasensuche geht nicht"

Closes #848

See merge request !1357
parents c0e81fde 4ee40f32
Pipeline #2511 passed with stage
in 1 minute and 5 seconds
......@@ -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