Username: 
Password: 
Restrict session to IP 

Level 3  Go to the Training: Regex challenge

Global Rank: 8325
Totalscore: 28
Posts: 1
Thanks: 0
UpVotes: 0
Registered: 107d 17h
Last Seen: 45d 16h
The User is Offline
Level 3
Google/translate0Thank You!0Good Post!0Bad Post! link
my regex:
/^wechall4?(?=\.(jpg|png|bmp|gif|tiff))$/


so I tried this and apparently, it would not match "wechall.jpg"
But I can't see my mistake after browsing through this forum.
Can u please help me?

greets
Global Rank: 1
Totalscore: 718725
Posts: 271
Thanks: 244
UpVotes: 204
Registered: 7y 334d











The User is Offline
RE: Level 3
Google/translate0Thank You!0Good Post!0Bad Post! link
The construct you use is checked, but isn't included in the actual match. So the "pointer" (if you will), is still at '.' after it. The next check is to see if it is at the end of the string, which will fail.

Read the documentation very carefully. ;)
tunelko, silenttrack, strongard63, qdxy, TheHiveMind, Z, Ge0, Big_Thunder, samuraiblanco, n4pst3r, arraez, jcquinterov, hophuocthinh, alfamen2 have subscribed to this thread and receive emails on new posts.
1 people are watching the thread at the moment.
This thread has been viewed 1148 times.