mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Include apostrophe in word regex
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user