errata-ai / Microsoft

A Vale-compatible implementation of the Microsoft Writing Style Guide.
https://github.com/errata-ai/vale
MIT License
85 stars 46 forks source link

Adjust Oxford comma rule #53

Closed aireilly closed 1 year ago

aireilly commented 1 year ago

Adjust Oxford comma rule to catch errors in the middle of a sentence too.

https://regex101.com/r/Qav0Jg/1

jdkato commented 1 year ago

This reverts back to the state before #20. In other words, it matches more cases but also significantly increases false positives (as you can see in the regex101 session). In such cases, my stance is to prefer being less noisy.