IsSearchTermRegEx
SearchHighlightOptions.IsSearchTermRegEx property
Gets or sets a value indicating whether the search term should be treated as a regular expression or as a text literal. Default is false — treat as a text literal.
public bool IsSearchTermRegEx { get; set; }
Remarks
If true, SearchTerm is interpreted as a .NET Regex pattern.
If false, SearchTerm is searched as a text literal in the document.
See Also
- class SearchHighlightOptions
- namespace GroupDocs.Viewer.Options
- assembly GroupDocs.Viewer