5.3.1.20.1. cli.foxbms_version.extract_version
- cli.foxbms_version.extract_version(txt: str, pattern: Pattern[str]) str
Extract a version string from text using the supplied regex pattern.
- Parameters:
txt – Text to search for the version string.
pattern – Regex pattern to use for extracting the version string.
- Returns:
The extracted version string.