You do not need to avoid meta-characters ( *, (, ), ., ...) in a group of characters (except ], unless it is the first character in the symbol group, [][]+will follow the sequence of square brackets.)
, Python, - r'...' -style. . r'\\' \\, :
m = re.search(r"%s.*[([](\d+\.\d+\.\d+\.\d+)" % site, r)
, \d Python, , \r, \\ .., .