Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
Mark Southcombe
3,361 PointsIgnorecase doesn't not seem to work in your example.
You have added re.IGNORECASE but your results only returned capitalised Treehouse. Why doesn't your example return all instances of treehouse.
1 Answer
Matt Nickele
468 Pointsin general I believe .ignorecase is used to compare and not to return. I dont think it will change any string in print out but if you use it for comparing in for boolean purposes the case of the string will not matter only that the letters are the same
Chris Freeman
Treehouse Moderator 68,468 PointsChris Freeman
Treehouse Moderator 68,468 PointsHey, Mark, which example do you mean?