'We now adding ^ and $ around regexp, so no bogus escape error will be raised.'

def test_bogus_escape_not_raised(self):

    problem = self.build_problem(answer=u'\\', case_sensitive=False, regexp=True)
    self.assert_grade(problem, u'\\', 'incorrect')
    problem = self.build_problem(answer=u'\\\\', case_sensitive=False, regexp=True)
    self.assert_grade(problem, u'\\', 'correct')
