SocialsFactory<T> constructor
SocialsFactory<T> ({})
Default constructor.
Implementation
SocialsFactory(
{this.defaultSuffix = 'n',
this.defaultIndex = '1',
RegExp? suffixRegExp,
RegExp? objectRegExp,
RegExp? wordRegExp,
RegExp? upperCaseRegExp})
: this.suffixRegExp =
suffixRegExp ?? RegExp('%([0-9]*)([a-zA-Z]*)([|]([a-zA-Z]+))?'),
this.objectRegExp = objectRegExp ??= RegExp(r'\[([^\]]+)\]'),
this.wordRegExp = wordRegExp ?? RegExp(r'\S+\s*'),
this.upperCaseRegExp = upperCaseRegExp ?? RegExp('[A-Z]');