|
||
Compares two text buffers from left-to-right.
An incremental matcher compares two text buffers from left-to-right. For example, the match between "garage" and "gander" is "ga".
The API has four key concepts: incremental matcher base class, buffer matcher, pointer to descriptor matcher, and resizable buffer matcher.
The base class provides the interface for getting and setting the text to be matched against, and also for performing 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
.