# UrbanTerror has no github/pypi release feed; parse the version out of the
# full-zip filename (UrbanTerror<NNN>_full.zip) on the downloads page and turn
# NNN into a dotted version (434 -> 4.3.4). nvchecker regex allows only a single
# capture group, so grab the digits then reshape with from/to_pattern.
[UrbanTerror]
source = "regex"
url = "https://www.urbanterror.info/downloads/"
regex = "UrbanTerror(\\d+)_full\\.zip"
from_pattern = "(\\d)(\\d)(\\d)"
to_pattern = "\\1.\\2.\\3"
