The Wayback Machine - https://web.archive.org/web/20240920155555/https://angular.dev/api/forms/PatternValidator/
@angular/forms

PatternValidator

directive

A directive that adds regex pattern validation to controls marked with the pattern attribute. The regex must match the entire control value. The directive is provided with the NG_VALIDATORS multi-provider list.

  
    class PatternValidator extends AbstractValidatorDirective {}
  
  
Jump to details
HTTPS · web.archive.org
← Home