An incremental matcher compares two text buffers from left-to-right. For example, the match between "garage" and "gander" is "ga".
It has four key concepts - incremental matcher base class, buffer matcher, pointer to descriptor matcher and resizable buffer matcher.
The base class provides the interface to get and set the text to be matched, and also to perform match tests.
The base class is RIncrMatcherBase
.
Derived from RIncrMatcherBase
, the buffer matcher class incrementally matches text against a modifiable descriptor buffer (TBuf
).
It is provided by RIncrMatcherBuf
.
Derived from RIncrMatcherBase
, the pointer to descriptor matcher class incrementally matches text against a descriptor accessed via a pointer.
It is provided by RIncrMatcherPtr
.
Derived from RIncrMatcherBase
, the resizable buffer matcher class incrementally matches text against a text buffer with variable maximum length.
It is provided by RIncrMatcherTextBuf
.