Skip to content

Commit

Permalink
Fix \s not matching eol
Browse files Browse the repository at this point in the history
  • Loading branch information
jdkato committed Apr 12, 2019
1 parent 191143d commit a95e0fb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Microsoft/HeadingPunctuation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ nonword: true
level: warning
scope: heading
tokens:
- '[a-z0-9][.?!]\s'
- '[a-z0-9][.?!](?:\s|$)'
2 changes: 1 addition & 1 deletion features/rules.feature
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ Feature: Rules
"""
test.md:1:7:Microsoft.HeadingColons:Capitalize ': m'."
test.md:5:3:Microsoft.Headings:'This is a Heading' should use sentence-style capitalization.
test.md:7:11:Microsoft.HeadingPunctuation:Don’t use end punctuation in headings.
test.md:7:13:Microsoft.HeadingPunctuation:Don’t use end punctuation in headings.
test.md:9:15:Microsoft.HeadingAcronyms:Avoid using acronyms in a title or heading.
"""

Expand Down

0 comments on commit a95e0fb

Please sign in to comment.