|
DiffMatchPatchMatchBitap Method
|
Locate the best instance of 'pattern' in 'text' near 'loc' using the
Bitap algorithm. Returns -1 if no match found.
Namespace: GSF.TextAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.248-beta+a497a19de709fd99e2448886199a2c8824265ddf
Syntaxprotected int MatchBitap(
string text,
string pattern,
int loc
)
Protected Function MatchBitap (
text As String,
pattern As String,
loc As Integer
) As Integer
protected:
int MatchBitap(
String^ text,
String^ pattern,
int loc
)
member MatchBitap :
text : string *
pattern : string *
loc : int -> int
function MatchBitap(text, pattern, loc);
View SourceParameters
- text String
- The text to search
- pattern String
- The pattern to search for
- loc Int32
- The location to search around
Return Value
Int32Best match index or -1
See Also