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
Date 2020-07-09.16:42:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1594312922.82.0.0846663616251.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 16:42:02Rim Chattisetrecipients: + Rim Chatti, docs@python
2020-07-09 16:42:02Rim Chattisetmessageid: <1594312922.82.0.0846663616251.issue41259@roundup.psfhosted.org>
2020-07-09 16:42:02Rim Chattilinkissue41259 messages
2020-07-09 16:42:02Rim Chatticreate