how to re.sub() a optional matching group using regex in python?,"re.sub('url(#*.*)', 'url\\1', test1)"