115
116
pattern = lazy_regex.lazy_compile('[,;]*')
116
117
self.assertEqual(['x', 'y', 'z'], pattern.split('x,y;z'))
126
self.assertEqual(['x', 'y', 'z'],
119
130
class TestInstallLazyCompile(tests.TestCase):
120
131
"""Tests for lazy compiled regexps.