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 <1594321725.1.0.285868168797.issue41259@roundup.psfhosted.org>
In-reply-to
Content
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!
History
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: <1594321725.1.0.285868168797.issue41259@roundup.psfhosted.org>
2020-07-09 19:08:45Rim Chattilinkissue41259 messages
2020-07-09 19:08:45Rim Chatticreate