def test_regex6(self):
     self.assertEqual(
         gr.get_references_in_text('Antrag AN/1234/2011 und Vorlage 1234/2011 blah'),
         ['AN/1234/2011', '1234/2011'])
 def test_regex4(self):
     self.assertEqual(
         gr.get_references_in_text('Antrag AN 1234/2011 blah'),
         ['AN 1234/2011'])
 def test_regex5(self):
     self.assertEqual(
         gr.get_references_in_text('Antrag AN/1234/2011 und Vorlage 4545/1234 blah'),
         ['AN/1234/2011', '4545/1234'])
 def test_regex3(self):
     self.assertEqual(
         gr.get_references_in_text('Vorlage 1234/2011/01 blah'),
         ['1234/2011/01'])
Example #5
0
 def test_regex6(self):
     self.assertEqual(
         gr.get_references_in_text(
             'Antrag AN/1234/2011 und Vorlage 1234/2011 blah'),
         ['AN/1234/2011', '1234/2011'])
Example #6
0
 def test_regex5(self):
     self.assertEqual(
         gr.get_references_in_text(
             'Antrag AN/1234/2011 und Vorlage 4545/1234 blah'),
         ['AN/1234/2011', '4545/1234'])
Example #7
0
 def test_regex4(self):
     self.assertEqual(gr.get_references_in_text('Antrag AN 1234/2011 blah'),
                      ['AN 1234/2011'])
Example #8
0
 def test_regex3(self):
     self.assertEqual(
         gr.get_references_in_text('Vorlage 1234/2011/01 blah'),
         ['1234/2011/01'])