Skip to main content

extract_semver_token

Function extract_semver_token 

Source
fn extract_semver_token(reported: &str) -> Option<&str>
Expand description

Extract the first whitespace-separated token that starts with a digit - handles 2.1.116 (anthropic), claude 2.1.116, and bare 2.1.116 shapes the CLI / npm produce.