Definition:
Back to the main index of this glossary
>>> import re
>>> french = 'Je pense donc je suis.'
>>> german = 'Übung macht den Meister.'
>>> z = [french, german]
>>> y = re.compile('en\B')
>>> for list in z:
... if re.search(y, list):
... print list
...
Je pense donc je suis.
>>>
>>>
>>>
>>> y = re.compile('\Ben')
>>> for list in z:
... if re.search(y, list):
... print list
...
Je pense donc je suis.
Übung macht den Meister.
Back to the main index of this glossary
