ftp: Add the simple-quote as separator too

git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3946 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
2017-09-18 10:14:21 +00:00
parent 425fd36d05
commit 10246fad3e

View File

@@ -148,9 +148,9 @@ class fts
$operator[$key] = "NOT REGEXP";
else
$operator[$key] = "REGEXP";
$value[$key] = "(^|[<> \(\",.;/:!?\r\n])".
$value[$key] = "(^|[<> \(\"',.;/:!?\r\n])".
preg_quote ($token).
"([<> \)\",.;/:!?\r\n]|$)";
"([<> \)\"',.;/:!?\r\n]|$)";
}
return array ("operator"=>$operator, "value"=>$value);
}