Options
All
  • Public
  • Public/Protected
  • All
Menu

A map between the built-in masks and the corresponding regular expressions.

Hierarchy

  • DefaultMasks

Index

Properties

alpha: RegExp

The mask that allows only letters.

alphanum: RegExp

The mask that allows only letters and numbers.

email: RegExp

The mask that allows only valid email characters (this does NOT check for well-formed emails)

hex: RegExp

The mask that allows only hexadecimal characters.

int: RegExp

The mask that allows only digits and dashes.

money: RegExp

The mask that allows only digits, spaces, commas, and periods.

num: RegExp

The mask that allows only digits, commas, and periods.

pint: RegExp

The mask that allows only digits.

pnum: RegExp

The mask that allows only digits and periods.

Generated using TypeDoc