pandoc / lua-filters

A collection of lua filters for pandoc
MIT License
611 stars 166 forks source link

Match any non-whitespace in aspell output #91

Closed agitter closed 4 years ago

agitter commented 4 years ago

Closes #90

aspell (version 0.60.7) trims leading and trailing punctuation. Running aspell on the following text file with intentional misspellings:

dogsxyz, catsxyz, and ferretsxyz.
'bearsxyz' and "wolvesxyz"?
micexyz-batsxyz or -tigers'xyz!

produces the output:

dogsxyz
catsxyz
ferretsxyz
bearsxyz
wolvesxyz
micexyz
batsxyz
tigers'xyz