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 trialSerkan van Delden
13,094 PointsEscape quiz.py
In the question where you have to fill in a escape for the number in "Johny-5", there is a glitch I think. First I tried /d, what I thought was the correct answer, but it said the answer was wrong. Then I tried every escape we learned, but nothing worked. Maybe I don't understand the question well. Can someone help me with this, because I can't skip the quiz.
3 Answers
Jason Anders
Treehouse Moderator 145,860 PointsYou're on the right track with your first assumption. It is d
that you use, but your are using a forward slash instead of a back slash for the escape. So, /d
needs to be \d
.
Otherwise, nice work! :)
Louise St. Germain
19,424 PointsHi Serkan,
You just need to use a back slash ( \ ) instead of a forward slash ( / ) for any escape characters in a regular expression. Then it should work!
Serkan van Delden
13,094 PointsThank you both very much!!!