This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Rim Chatti
Recipients Rim Chatti, docs@python, ezio.melotti, mrabarnett, rhettinger
Date 2020-07-09.19:08:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
re.findall(r"\w+ly", text) does not find all adverbs in a sentence, it finds words that contain ly (not ending with ly) :
if text= 'andlying clearly', output: [andly, clearly]
which is wrong! 
the right way to do this is re.findall(r'\b\w+ly\b',text)
output= clearly!
Date User Action Args
2020-07-09 19:08:45Rim Chattisetrecipients: + Rim Chatti, rhettinger, ezio.melotti, mrabarnett, docs@python
2020-07-09 19:08:45Rim Chattisetmessageid: <>
2020-07-09 19:08:45Rim Chattilinkissue41259 messages
2020-07-09 19:08:45Rim Chatticreate