Can someone please explain to me the output match 3 is wrong | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 5

Can someone please explain to me the output match 3 is wrong

https://code.sololearn.com/cQAyStVdWWqP/?ref=app

29th Mar 2018, 4:16 PM
Hethal
Hethal - avatar
2 Answers
+ 5
^ is like a not. So it match if there is a character that is not between A and Z. If you add a lower character in case 3, it match.
29th Mar 2018, 4:38 PM
Geo
Geo - avatar
+ 4
@Geo thanks
29th Mar 2018, 4:40 PM
Hethal
Hethal - avatar