Click or drag to resize

CustomEntityDefinitionRegularExpression Property

This property value should only be set with a regular expression data pattern if ExtractType is RegularExpressionAfter or RegularExpressionBefore (value will be ignored otherwise). Property RegExSearchLength determines the maximum number of characters after (if RegularExpressionAfter) or before (if RegularExpressionBefore) to apply the regular expression pattern match.

If the regular expression finds no matches then no custom Entity will be added to the entity item results. For regular expressions, the keyword sequence and the regular expression both must be matched in order to be added to the Items result list.

Regular expressions are computationally expensive and their use should be limited to special cases. RegExSearchLength should not be set larger than needed in order to match a pattern before, after, or before and after the keyword sequence. The keyword sequence should be unique enough (and not a very common word) in order that the regular expression is not excessively invoked to match its pattern.


Namespace: OpenDiscoverSDK.Interfaces.Settings.TextAnalytics
Assembly: OpenDiscoverSDK.Interfaces (in OpenDiscoverSDK.Interfaces.dll) Version: 2025.4.4.0 (2025.4.4)
Syntax
C#
[DataMemberAttribute]
public string RegularExpression { get; set; }

Property Value

String
See Also