Add regexp for peer and did