Skip to content

Commit

Permalink
Merge pull request #1 from mdaffin/patch-1
Browse files Browse the repository at this point in the history
Stops `So` matching partial words
  • Loading branch information
jdkato authored Aug 27, 2019
2 parents 3c11371 + c222c68 commit d30553c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion write-good/So.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ extends: existence
message: "Don't start a sentence with '%s'"
level: error
raw:
- '(?:[;-]\s)so[\s,]|So[\s,]'
- '(?:[;-]\s)so[\s,]|(^|\W)So[\s,]'

0 comments on commit d30553c

Please sign in to comment.