Fixed error in secret regex