RegexUtils class

Constructors

RegexUtils()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

arbComplexNode RegExp
Matches plurals or selects of format (variable,type,content) {sex, select, male{His birthday} female{Her birthday} other{Their birthday}} 1 - sex 2 - select 3 - male{His birthday} female{Her birthday} other{Their birthday}
getter/setter pair
arbComplexNodeContent RegExp
Matches the parts of the content male{His birthday} female{Her birthday} other{Their birthday} 1st match - male{His birthday} 2nd match - female{Her birthday} 3rd match - other{Their birthday}
getter/setter pair
argumentsDartRegex RegExp
matches $argument or ${argument} but not $argument 1 = argument of $argument 2 = argument of ${argument}
getter/setter pair
attributeRegex RegExp
Matches an attribute entry String? content(name) 1 - String 3 - ? 4 - content 5 - (name,age)
getter/setter pair
baseFileRegex RegExp
matches any string without special characters
getter/setter pair
dollarOnlyRegex RegExp
matches only $ but not $
getter/setter pair
dollarRegex RegExp
matches $hello, $ but not $
getter/setter pair
fileWithLocaleRegex RegExp
Finds the parts of the locale. It must start with an underscore. groups for strings_zh-Hant-TW: 1 = strings 2 = zh (language, non-nullable) 3 = Hant (script) 4 = TW (country)
getter/setter pair
genericRegex RegExp
Matches the generic of the list List
getter/setter pair
linkedRegex RegExp
matches @:translation.key
getter/setter pair
localeRegex RegExp
matches locale part only 1 - language (non-nullable) 2 - script 3 - country
getter/setter pair
paramHintRegex RegExp
Matches a parameter hint in a key if it exists greet(gender) 1 - gender
getter/setter pair
paramWithArg RegExp
matches param(arg)
getter/setter pair
spaceRegex RegExp
getter/setter pair

Constants

LOCALE_REGEX_RAW → const String
locale regex