Peter Otten <__pete...@web.de> added the comment:
While I don't want to start a philosical discussion -- is that really better? Finding adverbs with a regex doesn't work in the general case -- think butterfly, panoply, well -- and the example is meant to illustrate the usage of re.findall() rather than regex syntax. "finding adverbs" is just shorter and easier to understand than "finding sequences of word characters that end with "ly". ---------- nosy: +peter.otten _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue41259> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com