Username: 
Password: 
Restrict session to IP 
Online within 1d

Answer doesn't work  Go to the Training: Regex challenge

Global Rank: 14246
Totalscore: 201
Posts: 5
Thanks: 10
UpVotes: 11
Registered: 14y 248d
Last Seen: 14y 242d
The User is Offline
'edited out' doesn't work
Google/translate2Thank You!2Good Post!0Bad Post! link
Hi, I'd like to ask why 'edited out' isn't a correct solution to this problem.
Everywhere I look it says this will accept only an empty string.

Thanks
Last edited by TheBigY - Mar 03, 2012 - 20:37:57
Global Rank: 117
Totalscore: 161312
Posts: 13
Thanks: 16
UpVotes: 15
Registered: 17y 259d



Last Seen: 3y 188d
The User is Offline
RE: ^$ doesn't work
Google/translate2Thank You!2Good Post!0Bad Post! link
Quote from Challenge
Also note that you have to submit delimiters in the patterns too. Example pattern: /joe/i. The delimiter has to be /

Did you remember to add those? Also, edit your post, it's giving away the solution to the first part (it's not that difficult to find out, but still...) :/
Global Rank: 198
Totalscore: 110647
Posts: 1795
Thanks: 1390
UpVotes: 961
Registered: 18y 258d




Last Seen: 64d 15h
The User is Offline
RE: ^$ doesn't work
Google/translate1Thank You!1Good Post!0Bad Post! link
For the first regex training challenge you have to give the delimiter too, like /edited too/

Happy Challenging!
gizmore

Edit: monnino was faster than me Smile
By the way, your solution accepts more than an empty string, which you can learn about in anoter challenge from ludde: /challenge/training/regex2/index.php
For the current challenge it is accepted though.
The geeks shall inherit the properties and methods of object earth.
Last edited by gizmore - Mar 03, 2012 - 20:39:03
Global Rank: 14246
Totalscore: 201
Posts: 5
Thanks: 10
UpVotes: 11
Registered: 14y 248d
Last Seen: 14y 242d
The User is Offline
RE: ^$ doesn't work
Google/translate2Thank You!2Good Post!0Bad Post! link
Thanks, I did forget to do that. I'll edit my post so it doesn't give the answer away anymore.
Redknee, AIHAPPLE, zhukeni, alibaba2024, silenttrack, n0tHappy, nonfungiblesecurity, quangntenemy, TheHiveMind, Z, balicocat, Ge0, arraez, jcquinterov, hophuocthinh, alfamen2, burhanudinn123, Ben_Dover, stephanduran89, braddie0, fpombal, 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 12826 times.

PHP Fatal Error(1): Constant E_STRICT is deprecated since 8.4, the error level was removed in www/protected/config.php line 6


Backtrace starts in [unknown file] line ?. GWF_Debug::shutdown_function() core/inc/util/GWF_Debug.php line 109. GWF_Debug::error_handler().... core/inc/util/GWF_Debug.php line 180.