def test_simple_pattern_without_full_match(self):
     parser = RegexpParser("(\w+)", match=False)
     self.assertEquals(["a", "b", "c"], parser.parse("a|b|c"))
 def test_simple_pattern_not_matched_without_full_match(self):
     parser = RegexpParser("(d)", match=False)
     self.assertEquals([], parser.parse("a|b|c"))