Python Regex project | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
0

Python Regex project

I finished all of the new projects but for whatever reason, I can't pass this single test case (3) from the regex part! I can't even view what the test is because it's hidden. My code for the pattern was '^[189]\d{7}' I tried several other patterns but they all pass 4 other tests except that specific one. Anyone figure it out?

14th Oct 2020, 10:13 PM
Python Trader
Python Trader - avatar
1 ответ
0
Worked. Thanks! Didn't realize it was left as an open book. Devil's always in these minutia details.
14th Oct 2020, 10:31 PM
Python Trader
Python Trader - avatar