Method | Description | |
---|---|---|
Dump ( string indent ) : string | ||
ToString ( ) : string |
Used when dumping for debugging.
|
Method | Description | |
---|---|---|
IsMatch ( string text, int index, int beglimit, int endlimit ) : bool |
When a regex is anchored, we can do a quick IsMatch test instead of a Scan
|
|
MatchPattern ( string text, int index ) : bool | ||
RegexBoyerMoore ( string pattern, bool caseInsensitive, bool rightToLeft, |
Constructs a Boyer-Moore state machine for searching for the string pattern. The string must not be zero-length.
|
|
Scan ( string text, int index, int beglimit, int endlimit ) : int |
Scan uses the Boyer-Moore algorithm to find the first occurrence of the specified string within text, beginning at index, and constrained within beglimit and endlimit. The direction and case-sensitivity of the match is determined by the arguments to the RegexBoyerMoore constructor.
|