Command regex in expanded mode with explanations