mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Update word regex for spellcheck
Adds Latin Extended-A characters to word regex to prevent splitting words half way through on characters like ąęćółżźńś.
This commit is contained in:
parent
358242a5e0
commit
9f037384b6
1 changed files with 1 additions and 1 deletions
|
@ -171,7 +171,7 @@ define [
|
|||
positions = []
|
||||
for line, row in lines
|
||||
if !linesToProcess? or linesToProcess[row]
|
||||
wordRegex = /\\?['a-zA-Z\u00C0-\u00FF]+/g
|
||||
wordRegex = /\\?['a-zA-Z\u00C0-\u017F]+/g
|
||||
while (result = wordRegex.exec(line))
|
||||
word = result[0]
|
||||
if word[0] == "'"
|
||||
|
|
Loading…
Reference in a new issue