regex not needed for defining x
x = int(r[2].split('[')[0]) y = int(non_decimal.sub('', r[1].split('[')[0]))
regex not needed for defining x
x = int(r[2].split('[')[0]) y = int(non_decimal.sub('', r[1].split('[')[0]))