[issue41259] Find adverbs is not correct

2020-07-09 Thread Rim Chatti
New submission from Rim Chatti : 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'

[issue41259] Find adverbs is not correct on the documentation

2020-07-09 Thread Rim Chatti
Change by Rim Chatti : -- title: Find adverbs is not correct -> Find adverbs is not correct on the documentation ___ Python tracker <https://bugs.python.org/issu

[issue41259] Find adverbs is not correct on the documentation

2020-07-09 Thread Rim Chatti
Rim Chatti added the comment: 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