expand_idf_regex: Parse regular expression of object field values

View source: R/impl-idf.R

expand_idf_regexR 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.


hongyuanjia/eplusr documentation built on Feb. 14, 2024, 5:38 a.m.