Look for all entity identifiers that a given pattern

rxsProject_matchingUniqueEntityIdentifiers(
  x,
  regex,
  includeValueListsOfMatch = TRUE,
  excludeParentWhenValueListReturned = TRUE
)

rxsTree_matchingUniqueEntityIdentifiers(
  rxsTree,
  regex,
  includeValueListsOfMatch = TRUE,
  excludeParentWhenValueListReturned = TRUE
)

rxsTree_matchingUniqueEntityIdentifiers(
  rxsTree,
  regex,
  includeValueListsOfMatch = TRUE,
  excludeParentWhenValueListReturned = TRUE
)

Arguments

x, rxsTree

The full Rxs project (i.e. parsed extraction scripts) or one single Rxs tree.

regex

The regular expression to use to find entity identifiers

includeValueListsOfMatch

Whether to also include the value lists inside matching entities (useful for quickly selecting e.g. all results)

excludeParentWhenValueListReturned

Whether, if an entity matches, has a value list as value, and those value lists are returns (i.e. includeValueListsOfMatch is TRUE), the parent entity (that matched the regular expression) should be excluded.

Value

A character vector of identifiers