example.py: rename some functions
Don't anchor twice a regular expression