Back to API Reference
Interface
IParseRule
abstract
Interface for custom text parsing rules that identify modifier application ranges.
Remarks
Parse rules scan text for markup (XML tags, Markdown, custom markers) and produce ParsedRange entries that specify where modifiers should be applied. Rules are matched in priority order (highest first). Use higher priority for explicit markup rules (tags, Markdown) and lower priority for auto-detection rules (raw URLs).
public abstract int TryMatch(ReadOnlySpan<char> text, int index, PooledList<ParsedRange> results)Attempts to match a pattern starting at the specified index.
See Also
TagParseRuleAttributeParser
