1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
|
"""Password in plain text.
---
layout: post
source: ???
source_url: ???
title: Capitalization of abbreviations
date: 2014-06-10 12:31:19
categories: writing
---
In Hybrid Zones, p 255 in a citation Hughes & Huges Systems Experts and
Computers: The Systems Approach in Management and Engineering: World War Ii
and After.
World War Ii should have correct capitalization.
"""
from proselint.tools import blacklist, memoize
@memoize
def check(text):
"""Check the text."""
err = "MSC104"
msg = "Don't fail to capitalize roman numeral abbreviations."
pwd_regex = " (I(i*)|i*)"
password = [
f"World War{pwd_regex}",
]
return blacklist(text, password, err, msg)
|