generated from mirrors/plugin-sample-vite-svelte
Hunspell word matching fix
All checks were successful
Build on Push and create Release on Tag / build (push) Successful in 1m6s
All checks were successful
Build on Push and create Release on Tag / build (push) Successful in 1m6s
This commit is contained in:
parent
922bdfbff8
commit
5bbf99b1e4
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ export class ESpellChecker implements SpellChecker {
|
|||
|
||||
let suggestions: Suggestion[] = []
|
||||
|
||||
const regex = /[\w']+/g;
|
||||
const regex = /[\p{L}']+/gu;
|
||||
let match;
|
||||
|
||||
while ((match = regex.exec(text)) !== null) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue