Match a simple YAML key at the start of a line.
Section: Language and Data Format Recipes
YAML key shape
regex
regex
^[A-Za-z0-9_.-]+:Explanation
Useful for lightweight audits of YAML-like files.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Language and Data Format Recipes