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

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.