pub fn split_version(s: &str) -> Vec<String>Expand description
Split a version string into typed components.
Splits on . and - separators AND on boundaries between
digit and non-digit characters. Empty components are dropped.
Examples:
"1.0-rc1"→["1", "0", "rc", "1"]"1.0.0-pre"→["1", "0", "0", "pre"]"2024a"→["2024", "a"]