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:
Mick O'Brien 2015-03-23 16:14:38 +00:00
parent 358242a5e0
commit 9f037384b6

View file

@ -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] == "'"