def test_with_regexp8(self): self.assertEqual( with_regexp('abra((esdf)abc((vsdf)((fgj))hjk((((ghj)'), 'abra((esdf)abc((vsdf)((fgj))hjk')
def test_with_regexp7(self): self.assertEqual(with_regexp('abra((esdf)abc((vsdf)'), 'abra((esdf)abc((vsdf)')
def test_with_regexp2(self): self.assertEqual(with_regexp('abra((esdf(esdf'), 'abra')
def test_with_regexp6(self): self.assertEqual(with_regexp('abra((esdf)abc(hjkk(vsdf'), 'abra((esdf)abc')
def test_with_regexp1(self): self.assertEqual(with_regexp('abra((esdf)(esdf'), 'abra((esdf)')