Skip to main content

is_humanized_codename

Function is_humanized_codename 

Source
pub fn is_humanized_codename(title: &str) -> bool
Expand description

Whether a display title looks like a humanized generated codename ("Jolly Forest" from 1789108823046-jolly-forest).

Generated slugs are always {adjective}-{noun} from the fixed tables above, so the humanized form is exactly two Title-Case words drawn from those tables. User titles ("Release", "Release Notes") do not match both tables and pass through as descriptive.