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
argumentsBracesRegex RegExp
matches {argument} 1 = pre character (to check ) 2 = actual argument 3 = post character is word, therefore ${...}
getter/setter pair
argumentsDartRegex RegExp
matches $argument or ${argument}
getter/setter pair
argumentsDoubleBracesRegex RegExp
matches {{argument}} similar group indices like argumentsBracesRegex
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: 2 = strings 3 = zh (language) 5 = Hant (script) 7 = 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 3 - script 5 - 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