One of the main challenges in retrieving information from different sources is to parse the text in all cases. Some of the feeds may return information in different formats.
For instance, in our example you can see that the Reuters feed summary includes HTML information that gets rendered in the resulting email. If you have that kind of problem, you may need to process the returned data further, until it becomes consistent. This may be highly dependent on the expected quality of the resulting report.
Another possibility is to increase the complexity of the match. In this recipe, the check is done with a simple in, but remember that all the techniques in Chapter 1, Let Us Begin Our Automation Journey, including all the regular expression capabilities, are available for you to use.