hi i am trying to create an re expression which will match y = mx + c, with m and c = a number upto 4 digits long. I first came up with self.linear = re.compile("y = [\d+?]x [+|-] \d+", re.IGNORECASE) this doesnt work though and i dont understand why. thanks ed