pub fn js_ascii_slug(name: &str) -> StringExpand description
The frontend’s id for a launch with no slug: JavaScript’s
name.toLowerCase().replace(/[^a-z0-9-_]/g, "-"). ASCII only, unlike
path_slug; no collapsing. The regex has no u flag, so it replaces each
UTF-16 code unit: a character outside the BMP becomes two dashes
(Agent 🚀 → agent---), which signing-key names depend on (Codex P1 on
#3633).