mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-11-13 08:44:12 +03:00
Include apostrophe in word regex
This commit is contained in:
parent
c0d4f70467
commit
0398e160ae
@ -1,6 +1,6 @@
|
||||
module.exports =
|
||||
findMisspellings: (text) ->
|
||||
wordRegex = /(?:^|\s)([a-zA-Z]+)(?=\s|\.|$)/g
|
||||
wordRegex = /(?:^|\s)([a-zA-Z']+)(?=\s|\.|$)/g
|
||||
row = 0
|
||||
misspellings = []
|
||||
for line in text.split('\n')
|
||||
|
Loading…
Reference in New Issue
Block a user