79686529

Date: 2025-07-01 19:33:44
Score: 1
Natty:
Report link

Ok, I get it now. Sorry, the parameters are somewhat confusing. This works:

    analysisValueControl = new FormControl({value: '', disabled: true}, {validators: [
        Validators.required, Validators.pattern(/^([+-]?[\d\.,]+)(\([+-]?[\d\.,]+\))?([eE][+-]?\d+)?$/i) ],
        updateOn: 'blur'});
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Eem