regex bug for name extract