DXR is a code search and navigation tool aimed at making sense of large projects. It supports full-text and regex searches as well as structural queries.

Mercurial (a41a482b7876)

VCS Links

Line Code
1 2 3 4 5 6 7
import re

from build.versions import ANY_VERSION_REGEX


def getAppVersion(version):
    return re.match(ANY_VERSION_REGEX, version).group(1)