Class SimpleHtmlTagOpeningMatcher
A trivial state-machine to detect opening tag in html. Used essentially to detect the header tag
public class SimpleHtmlTagOpeningMatcher : StringMatcher, IBinaryMatcher
- Inheritance
-
SimpleHtmlTagOpeningMatcher
- Implements
- Inherited Members
Constructors
SimpleHtmlTagOpeningMatcher(Encoding, StringComparison, bool)
public SimpleHtmlTagOpeningMatcher(Encoding encoding, StringComparison stringComparison, bool replace)
Parameters
encodingEncodingstringComparisonStringComparisonreplacebool
Methods
FindIndex(ReadOnlySpan<char>, ReadOnlySpan<char>)
public override (int Index, int Count) FindIndex(ReadOnlySpan<char> buffer, ReadOnlySpan<char> searchText)
Parameters
bufferReadOnlySpan<char>searchTextReadOnlySpan<char>
Returns
GetMatchValue(int, int, int)
protected override BinaryMatchResult GetMatchValue(int index, int blockLength, int shiftLength)