Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15379023
D18579.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
474 B
Referenced Files
None
Subscribers
None
D18579.diff
View Options
diff --git a/src/applications/search/ferret/PhabricatorFerretEngine.php b/src/applications/search/ferret/PhabricatorFerretEngine.php
--- a/src/applications/search/ferret/PhabricatorFerretEngine.php
+++ b/src/applications/search/ferret/PhabricatorFerretEngine.php
@@ -75,7 +75,7 @@
public function tokenizeString($value) {
$value = trim($value, ' ');
- $value = preg_split('/ +/', $value);
+ $value = preg_split('/\s+/u', $value);
return $value;
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Mar 14, 6:14 PM (1 w, 1 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7665214
Default Alt Text
D18579.diff (474 B)
Attached To
Mode
D18579: Split Ferret engine strings for tokenization on any sequence of whitespace
Attached
Detach File
Event Timeline
Log In to Comment