Table of Contents

Class FindOptions

Namespace
DocWright.Dom.Editing
Assembly
DocWright.Dom.dll

How a search treats case, word boundaries and pathological patterns.

public sealed class FindOptions
Inheritance
FindOptions
Inherited Members

Constructors

FindOptions()

Properties

MatchCase

Gets or sets a value indicating whether the search is case-sensitive. Default true. Case-insensitive matching is ordinal, never culture-sensitive: a document is not searched differently because the machine running the search is Turkish.

MaxMatches

Gets or sets the maximum number of matches to return, or 0 for no limit. Default 0.

RegexTimeout

Gets or sets the maximum time one regular-expression match attempt may take. Default one second. A caller-supplied pattern is an unbounded-backtracking surface, so this is enforced, not advisory.

WholeWord

Gets or sets a value indicating whether a match must be bounded by non-word characters on both sides. Default false.