Definition:
Back to the main index of this glossary
>>> import re
>>> u = 'Four score and seven years ago, our forefathers...'
>>> y = re.compile('s([aeiou].){2,5}(?# This is just a Python comment in the middle of a regular expression)(.)?')
>>> z = re.split(y,u)
>>> for i in z:
... print i
...
Four score and
en
years ago, our forefathers...
Back to the main index of this glossary
