Scripted fields - regex always return false

If you have a look on my example, this is exactly what I have done. But no success.