Skip to main content

lower_alphanumeric

Function lower_alphanumeric 

Source
pub fn lower_alphanumeric(s: &str) -> String
Expand description

Sanitizes the input string by ensuring all characters are lowercase ASCII alphanumeric or underscores.

All characters that aren’t ASCII alphanumeric or underscores are replaced with underscores, and alphanumerics will be lowercased.