Fixed space being mandatory before ) and ^

This commit is contained in:
koloml committed 2026-06-13 22:44:57 +04:00
1 parent 3e0495a529
commit 74f113412e
1 file changed
+1 -1
+1 -1
View File
@@ -243,6 +243,6 @@ export class QueryLexer {
static #boostOperator = /\^[+-]?\d+(?:\.\d+)?/y;
static #whitespaces = /\s+/y;
static #quotedText = /"((?:\\.|[^\\"])+)"/y;
static #dirtyTextStopWords = /,|\s+(?:AND|&&|OR|\|\|)\s+|\s+(?:\)|\^[+-]?\d+(?:\.\d+)?)/y;
static #dirtyTextStopWords = /,|\s+(?:AND|&&|OR|\|\|)\s+|\s*(?:\)|\^[+-]?\d+(?:\.\d+)?)/y;
static #dirtyTextContent = /\\.|[^()]/y;
}