Example #1
0
 def test_with_regexp8(self):
     self.assertEqual(
         with_regexp('abra((esdf)abc((vsdf)((fgj))hjk((((ghj)'),
         'abra((esdf)abc((vsdf)((fgj))hjk')
Example #2
0
 def test_with_regexp7(self):
     self.assertEqual(with_regexp('abra((esdf)abc((vsdf)'),
                      'abra((esdf)abc((vsdf)')
Example #3
0
 def test_with_regexp2(self):
     self.assertEqual(with_regexp('abra((esdf(esdf'), 'abra')
Example #4
0
 def test_with_regexp6(self):
     self.assertEqual(with_regexp('abra((esdf)abc(hjkk(vsdf'),
                      'abra((esdf)abc')
Example #5
0
 def test_with_regexp1(self):
     self.assertEqual(with_regexp('abra((esdf)(esdf'), 'abra((esdf)')