O'Reilly logo
  • Girish Managoli thinks this is interesting:

spot them

From

Cover of Natural Language Processing with Python

Note

>>> re.findall(r'^(.*?)(ing|ly|ed|ious|ies|ive|es|s|ment)?$', 'languages')
[('languag', 'es')]