Find case-insensitive matches of a string using a Boyer-Moore algorithm.
Source position: strutils.pp line 289
function FindMatchesBoyerMooreCaseInSensitive( |
const S: PAnsiChar; |
const OldPattern: PAnsiChar; |
const SSize: SizeInt; |
const OldPatternSize: SizeInt; |
out aMatches: SizeIntArray; |
const aMatchAll: Boolean |
):Boolean; |
const S: string; |
const OldPattern: string; |
out aMatches: SizeIntArray; |
const aMatchAll: Boolean |
):Boolean; |
FindMatchesBoyerMooreCaseInSensitive finds occurrences of OldPattern (with length OldPatternSize) in S (with length SSize). The search is performed case-insensitively, and all (zero based) positions are reported in aMatches. If aMatchAll is True, all positions will be reported. If aMatchAll is False, only the first position is reported.
None.
|
Find case-sensitive matches of a string using a Boyer-Moore algorithm. |
|
|
Optimized search-and-replace algorithm. |