fileWithLocaleRegex property

RegExp fileWithLocaleRegex
getter/setter pair

Finds the parts of the locale. It must start with an underscore. groups for strings_zh-Hant-TW: 2 = strings 3 = zh (language) 5 = Hant (script) 7 = TW (country)

Implementation

static RegExp fileWithLocaleRegex =
    RegExp('^(([a-zA-Z0-9]+)_)?$LOCALE_REGEX_RAW\$');