codex: address PR review feedback (#20179)

This commit is contained in:
Eric Traut
2026-04-29 03:20:52 -07:00
parent 946cece56e
commit e76ebc7adc

View File

@@ -17,7 +17,7 @@ TUI_MANIFEST = TUI_ROOT / "Cargo.toml"
FORBIDDEN_PACKAGE = "codex-core"
CODEX_PROTOCOL_PACKAGE = "codex-protocol"
CODEX_PROTOCOL_MESSAGE = "references `codex_protocol::protocol`"
IDENTIFIER = r"(?:r#)?[A-Za-z_][A-Za-z0-9_]*"
IDENTIFIER = r"(?:r#)?[^\W\d]\w*"
PROTOCOL_IDENTIFIER = r"(?:r#)?protocol"
TOKEN_SEPARATOR = r"\s*"
REQUIRED_TOKEN_SEPARATOR = r"\s+"