def get_commcare_version_from_appversion_text(appversion_text):
    patterns = [
        r'version "([\d.]+)"',
    ]
    return _first_group_match(appversion_text, patterns)
>>> get_commcare_version_from_appversion_text(
dataset/ETHPy150Open dimagi/commcare-hq/corehq/apps/receiverwrapper/util.py/get_commcare_version_from_appversion_text