Method FindOccurrencesByProperty
FindOccurrencesByProperty(string, string, OccurrenceList, bool)
Returns all occurrences which a property value matches the given regular expression (ECMAScript)
Declaration
[HandleProcessCorruptedStateExceptions]
public OccurrenceList FindOccurrencesByProperty(string property, string regex, OccurrenceList roots = null, bool caseInsensitive = false)
Parameters
| Type | Name | Description |
|---|---|---|
| string | property | Property name |
| string | regex | Regular expression (ECMAScript) |
| OccurrenceList | roots | If specified, restrict the search from the given roots |
| bool | caseInsensitive | If True, the regex will be insensitive to upper and lower cases |
Returns
| Type | Description |
|---|---|
| OccurrenceList |