DXRichEditDocumentSearchOptions.RegExResultMaxGuaranteedLength Property
Gets or sets the maximum length of a string that can be obtained in a regular expression search. This is a dependency property.
Namespace: DevExpress.Xpf.RichEdit
Assembly: DevExpress.Xpf.RichEdit.v24.2.dll
NuGet Package: DevExpress.Wpf.RichEdit
Declaration
Property Value
Type | Description |
---|---|
Int32 | An integer specifying the maximum number of character in a string. Default is 128. |
Property Paths
You can access this nested property as listed below:
Object Type | Path to RegExResultMaxGuaranteedLength |
---|---|
RichEditControl |
|
Remarks
The RegExResultMaxGuaranteedLength property specifies the size of a buffer allocated for a search using regular expressions. A string that exceeds this length cannot be compared with the pattern to check for a match, therefore only strings shorter than the RegExResultMaxGuaranteedLength can definitely be found. The RegExResultMaxGuaranteedLength property determines the maximum guaranteed length of a resulting string.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the RegExResultMaxGuaranteedLength property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.