Skip to content

Commit 0101254

Browse files
fix(search): respect explicit regex flags
1 parent cb0f94b commit 0101254

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/meteor/server/lib/parseMessageSearchQuery.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ class MessageSearchQueryParser {
259259

260260
if (match) {
261261
regex = match[1];
262-
options = match[2] || 'i';
262+
options = match[2];
263263
}
264264

265265
else if (this.forceRegex) {

0 commit comments

Comments
 (0)