Username: 
Password: 
Restrict session to IP 

what should i do?  Go to the Training: Regex challenge

Global Rank: 3895
Totalscore: 3963
Posts: 10
Thanks: 2
UpVotes: 5
Registered: 8y 39d
hdarwin`s Avatar
Last Seen: 4y 45d
The User is Offline
what should i do?
Google/translate0Thank You!0Good Post!0Bad Post! link

/wechall4?(?=\.jpg$|\.png$|\.bmp$|\.gif$|\.tiff$)/


in my test cases my pattern matches all expectable words!

but i cant solv this challenge!!

you know that regular expression is flexible! but it seems like receive kinda static pattern..

and challenge's explanation is ambiguous!
Global Rank: 660
Totalscore: 35644
Posts: 18
Thanks: 14
UpVotes: 16
Registered: 8y 40d
Last Seen: 8y 7d
The User is Offline
RE: what should i do?
Google/translate0Thank You!0Good Post!0Bad Post! link
Wouldn't your pattern match xwechall4.jpg too? ;)

And maybe you shouldn't repeat stuff in your pattern since you can write it only once.
Last edited by mnlight - Dec 31, 2012 - 05:03:49
Global Rank: 3895
Totalscore: 3963
Posts: 10
Thanks: 2
UpVotes: 5
Registered: 8y 39d
hdarwin`s Avatar
Last Seen: 4y 45d
The User is Offline
RE: what should i do?
Google/translate0Thank You!0Good Post!0Bad Post! link

/^wechall4?(?=\.jpg|\.png|\.bmp|\.gif|\.tiff$)/


how about this?
Global Rank: 660
Totalscore: 35644
Posts: 18
Thanks: 14
UpVotes: 16
Registered: 8y 40d
Last Seen: 8y 7d
The User is Offline
RE: what should i do?
Google/translate0Thank You!0Good Post!0Bad Post! link
Not ok. You still have stuff that you could write only once. And some things shouldn't be enclosed.
Global Rank: 3895
Totalscore: 3963
Posts: 10
Thanks: 2
UpVotes: 5
Registered: 8y 39d
hdarwin`s Avatar
Last Seen: 4y 45d
The User is Offline
RE: what should i do?
Google/translate0Thank You!0Good Post!0Bad Post! link
thanks a lot!
Redknee, tunelko, silenttrack, n0tHappy, TheHiveMind, Z, Ge0, samuraiblanco, arraez, jcquinterov, hophuocthinh, alfamen2, burhanudinn123, Ben_Dover, stephanduran89, braddie0 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 6201 times.