Allow whitespace and comments inside the regex.
Section: Flags and Modes
Extended / verbose mode
regex
regex
(?x) ^ \d{4} - \d{2} - \d{2} $Explanation
Improves readability for long patterns.
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 Flags and Modes