4 references to TryGetMatch
Microsoft.ML.Tokenizers (4)
PreTokenizer\PreTokenizer.cs (1)
36while (TryGetMatch(regex, text, beginning, text.Length - beginning, out match))
PreTokenizer\RegexPreTokenizer.cs (3)
67if (!TryGetMatch(specialTokensRegex, text, beginning, text.Length - beginning, out specialMatch)) 72while (TryGetMatch(regex, text, beginning, specialMatch.Offset - beginning, out match)) 83while (TryGetMatch(regex, text, beginning, text.Length - beginning, out match))