Commit f062865
authored
Add 'or' to OxfordComma regex (#29)
* Add 'or' to regex
On https://docs.microsoft.com/en-us/style-guide/punctuation/commas, the style guide explicitly mentions "and" and "or" as conjunctions requiring a serial comma. This pull request adds support for detecting "or" to the regex.
* Make the group non-capturing1 parent cb401ea commit f062865
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
0 commit comments