expand_idf_regex {eplusr}R Documentation

Parse regular expression of object field values

Description

Parse regular expression of object field values

Usage

expand_idf_regex(
  idd_env,
  idf_env,
  pattern,
  replacement = NULL,
  class = NULL,
  ignore.case = FALSE,
  perl = FALSE,
  fixed = FALSE,
  useBytes = FALSE
)

Arguments

idd_env

An environment or list contains IDD tables including class, field, and reference.

idf_env

An environment or list contains IDF tables including object, value, and reference.

pattern

A single string of regular expression used to match field values

class

A character vector specifying the target class names

ignore.case, perl, fixed, useBytes

All of them are directly passed to base::grepl and base::gsub with the same default values.

Value

A named list of 2 data.table::data.table(): object and value.


[Package eplusr version 0.16.3 Index]