We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 093db49 commit 79f8699Copy full SHA for 79f8699
source/StopWordsMap.js
@@ -3,7 +3,7 @@
3
/**
4
* Stop words list copied from Lunr JS.
5
*/
6
-export const StopWordsMap = {
+export var StopWordsMap = {
7
a: 'a',
8
able: 'able',
9
about: 'about',
source/Tokenizer/SimpleTokenizer.js
@@ -2,7 +2,7 @@
2
import type { ITokenizer } from './Tokenizer';
-const REGEX = /[^a-zа-яё0-9\-\u00000']+/i;
+var REGEX = /[^a-zа-яё0-9\-']+/i;
* Simple tokenizer that splits strings on whitespace characters and returns an array of all non-empty substrings.
0 commit comments