localeRegex property

RegExp localeRegex
getter/setter pair

matches locale part only 1 - language 3 - script 5 - country

Implementation

static RegExp localeRegex = RegExp('^$LOCALE_REGEX_RAW\$');