Skip to content

Commit

Permalink
Merge pull request #369 from ksslng/easy-fixes
Browse files Browse the repository at this point in the history
Fix bug in garner.dates #278
  • Loading branch information
suchow committed Mar 9, 2016
2 parents fd1eb74 + 6e11deb commit cc58f04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion proselint/checks/garner/dates.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def check_dash_and_from(text):
err = "garner.dates"
msg = u"When specifying a date range, write 'from X to Y'."

regex = "[fF]rom \d+[^ \t\n\r\f\va-zA-Z0-9_]\d+"
regex = "[fF]rom \d+[^ \t\n\r\f\va-zA-Z0-9_\.]\d+"
return existence_check(text, [regex], err, msg)


Expand Down

0 comments on commit cc58f04

Please sign in to comment.