Username: 
Password: 
Restrict session to IP 

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

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