Skip to content
This repository has been archived by the owner on Apr 4, 2022. It is now read-only.

Commit

Permalink
Merge 15fceb8 into d5952f4
Browse files Browse the repository at this point in the history
  • Loading branch information
tboeckmann committed Mar 29, 2020
2 parents d5952f4 + 15fceb8 commit 080adba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/services/mailchain/mailchain.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ export class MailchainService {
* see tests for conditions
*/
public validateEnsName(value) {
let regex = new RegExp('^([0-9a-zA-Z][0-9a-zA-Z\-]{2,}[\.]){1,}[a-zA-Z]{2,}$')
let regex = new RegExp('^([0-9a-zA-Z]{1,}[0-9a-zA-Z\-]{0,}[\.]){1,}[a-zA-Z]{2,}$')
return regex.test(value)
};

Expand Down

0 comments on commit 080adba

Please sign in to comment.