iam-veeramalla / python-for-devops

Learn Python from DevOps Engineer point of you.
MIT License
2.84k stars 5.74k forks source link

Fix suggestion for 03-regex-findall.py, thanks for consideration. #54

Open madhoshyagnik opened 3 months ago

madhoshyagnik commented 3 months ago

The code is using re.search instead of re.findall, therefore is only returning only one entry even if there are multiple in the input text.