Python for Everybody - Regular Expressions: Matching and Extracting Data

Tell us what’s happening:

This question does in fact have the correct answer. However, escaping the backslash from Pythons interpreter to be able to pass the argument to regex w/o conflict or raising a syntax warning, isn’t something that was demonstrated or mentioned during any of the lessons this far. Let alone what it means to escape a character.

Could this question be updated to remove the escaped backslash from the prompt, as to not confuse a student who may not have searched outside of these lessons for deeper knowledge? Or is this a “trim the fat” kind of exercise?

Challenge Information:

Python for Everybody - Regular Expressions: Matching and Extracting Data

Thank you for helping make FCC better. Bugs can be reported as GitHub Issues. Whenever reporting a bug, please check first that there isn’t already an issue for it and provide as much detail as possible.