@iebh/polyglot 4.7.7 → 4.7.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/modules/parse.js +3 -7
- package/package.json +1 -1
package/lib/modules/parse.js
CHANGED
|
@@ -526,13 +526,9 @@ var parse = function parse(query, options) {
|
|
|
526
526
|
// Figure out the leaf to use (usually the last one) or the previously used group
|
|
527
527
|
var useLeaf = leaf;
|
|
528
528
|
useLeaf.field = _fieldCodesParse["default"][match[1].toLowerCase()];
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
} else {
|
|
533
|
-
offset += match[1].length;
|
|
534
|
-
q = q.substr(match[1].length);
|
|
535
|
-
}
|
|
529
|
+
leaf = undefined;
|
|
530
|
+
offset += match[0].length;
|
|
531
|
+
q = q.substr(match[0].length);
|
|
536
532
|
cropString = false;
|
|
537
533
|
}
|
|
538
534
|
// }}}
|