Test, validate and match regular expressions
Catches common typographical and grammatical edge cases in English text: lowercase letters after sentence-ending punctuation (missing capitalization), lowercase standalone 'i' (should be 'I'), missing spaces between words, smart/curly quotes, underscores, pipe characters, and unusual contractions with leading spaces. Useful for proofreading, text validation, and quality checking pipelines.