|
DiffMatchPatchMatchMain Method
|
Locate the best instance of 'pattern' in 'text' near 'loc'.
Returns -1 if no match found.
Namespace: GSF.TextAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.249-beta+56964f8aed6f3f2e54faec1539f7ce0ba6548fdf
Syntaxpublic int MatchMain(
string text,
string pattern,
int loc
)
Public Function MatchMain (
text As String,
pattern As String,
loc As Integer
) As Integer
public:
int MatchMain(
String^ text,
String^ pattern,
int loc
)
member MatchMain :
text : string *
pattern : string *
loc : int -> int
function MatchMain(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