sixDigit top-level property

RegExp sixDigit
getter/setter pair

A regular expression that matches exactly 6 digits.

Useful for validating postal codes in countries like India, Russia, and Romania where 6-digit numeric codes are used.

Example of a valid match:

  • 560001

Implementation

RegExp sixDigit = RegExp(sixDigitStr);