OmniMatcher constructor

OmniMatcher(
  1. Options options
)

Creates a new instance.

Implementation

OmniMatcher(this.options) {
  final DictionaryMatcher dictionaryMatcher = DictionaryMatcher(options);
  matchers = <BaseMatcher>[
    DateMatcher(options),
    dictionaryMatcher,
    L33tMatcher(options, dictionaryMatcher),
    RegExMatcher(options),
    RepeatMatcher(this),
    ReverseMatcher(dictionaryMatcher),
    SeparatorMatcher(),
    SequenceMatcher(),
    SpatialMatcher(options),
  ];
}