Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Fractions.yml #79

Merged
merged 1 commit into from
Oct 3, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions styles/Splunk/Fractions.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
extends: existence
message: "If you're referring to a generic fraction and not one that refers back to a specific number, hyphenate the spelled-out fraction. Use numerals and forward slashes with no additional formatting to represent numerical fractions."
message: "When referring to a generic fraction, hyphenate it. Use numerals and forward slashes to show numerical fractions."
link: https://docs.splunk.com/Documentation/StyleGuide/current/StyleGuide/Fractions
nonword: true
ignorecase: true
Expand All @@ -11,4 +11,5 @@ tokens:
- '\d+-\d+\/\d+'
- '\d+-(?:½|¾)'
- '\d+(?:½|¾)'
- '\d+\/\d+(?:rds|ths)'
- '\d+\/\d+(?:rds|ths)'
- '\b(?:one|two|three|four|five|six|seven|eight|nine|\d+)\s(?:half|third|quarter|fifth|sixth|seventh|eighth|ninth|tenth|eleventh|twelfth|thirteenth|fourteenth|fifteenth|sixteenth|seventeenth|eighteenth|nineteenth|twentieth)s\b'