Python Insert Variable Into Regex In Sql