@hmcts/ccpay-web-component 5.0.1-beta95 → 5.0.1-beta96

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2781,7 +2781,7 @@ var ContactDetailsComponent = /** @class */ (function () {
2781
2781
  this.emailAddressForm = this.formBuilder.group({
2782
2782
  email: new FormControl('', Validators.compose([
2783
2783
  Validators.required,
2784
- Validators.pattern('^[a-z0-9][a-z0-9-_\.]+@([a-z]|[a-z0-9]?[a-z0-9-]+[a-z0-9])\.[a-z0-9]{2,10}$')
2784
+ Validators.pattern('^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$')
2785
2785
  ]))
2786
2786
  });
2787
2787
  this.postCodeForm = this.formBuilder.group({