Skip to content

Commit 679b61f

Browse files
committed
Allow "that is,"
Fixes #45
1 parent 37ec06b commit 679b61f

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

Microsoft/Contractions.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ swap:
2222

2323
should not: shouldn't
2424

25-
'that is(?!\.)': that's
25+
"that is(?![.,])": that's
2626
'that''s(?=\.)': that is
2727

2828
'they are(?!\.)': they're

fixtures/Contractions/test.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -387,3 +387,7 @@ Will not you join us?
387387
You will not regret it.
388388

389389
I will not.
390+
391+
<!-- Should pass -->
392+
393+
AllMatch returns true if pred returns true for all elements produced by prod, that is, all elements match.

0 commit comments

Comments
 (0)