(x: str)
return group["old_version"], group["new_version"]
Find old and new version from PR title
    Example:
        title: "Bump jackson-databind from 2.9.10.1 to 2.10.0.pr1 in /LiveIngest/LiveEventWithDVR"

        result: "2.9.10.1", "2.10.0.pr1"
Find old and new version from PR title
    Example:
        title: "Bump jackson-databind from 2.9.10.1 to 2.10.0.pr1 in /LiveIngest/LiveEventWithDVR"
Find old and new version from PR title Example : title : Bump jackson - databind from 2 . 9 . 10 . 1 to 2 . 10 . 0 . pr1 in / LiveIngest / LiveEventWithDVR
def _extract_versions(x: str) -> tuple[str, str] | None:
    """
    Find old and new version from PR title
    Example:
        title: "Bump jackson-databind from 2.9.10.1 to 2.10.0.pr1 in /LiveIngest/LiveEventWithDVR"

        result: "2.9.10.1", "2.10.0.pr1"
    """
    match = title_regex.search(x)
    if match is None:
        return None
    group = match.groupdict()
    if "old_version" not in group or "new_version" not in group:
        return None
    return group["old_version"], group["new_version"]
def _extract_versions ( x : str ) -> tuple [ str , str ] | None : match = title_regex . search ( x ) if match is None : return None group = match . groupdict ( ) if "old_version" not in group or "new_version" not in group : return None return group [ "old_version" ] , group [ "new_version" ]