Username: 
Password: 
Restrict session to IP 

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

Global Rank: 4390
Totalscore: 3963
Posts: 10
Thanks: 2
UpVotes: 5
Registered: 11y 105d
hdarwin`s Avatar
Last Seen: 7y 111d
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: 716
Totalscore: 35719
Posts: 18
Thanks: 14
UpVotes: 17
Registered: 11y 106d
Last Seen: 11y 73d
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: 4390
Totalscore: 3963
Posts: 10
Thanks: 2
UpVotes: 5
Registered: 11y 105d
hdarwin`s Avatar
Last Seen: 7y 111d
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: 716
Totalscore: 35719
Posts: 18
Thanks: 14
UpVotes: 17
Registered: 11y 106d
Last Seen: 11y 73d
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: 4390
Totalscore: 3963
Posts: 10
Thanks: 2
UpVotes: 5
Registered: 11y 105d
hdarwin`s Avatar
Last Seen: 7y 111d
The User is Offline
RE: what should i do?
Google/translate0Thank You!0Good Post!0Bad Post! link
thanks a lot!
Redknee, AIHAPPLE, zhukeni, tunelko, silenttrack, n0tHappy, quangntenemy, TheHiveMind, Z, balicocat, Ge0, samuraiblanco, arraez, jcquinterov, hophuocthinh, alfamen2, burhanudinn123, Ben_Dover, stephanduran89, braddie0, SwolloW, dangarbri 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 7823 times.