Creates an object for Regular Expression coding. No need to call this directly, create.code is a nice wrapper around this and any other types of Codes
RegexCode object Create RegexCode
ncodeR::Code
-> RegexCode
expressions
Character vector of regular expressions
metadata
TBD
new()
RegexCode$new(name, definition, ..., excerpts = NULL, expressions = NULL)
name
TBD
definition
TBD
...
TBD
excerpts
TBD
expressions
TBD
Process Code
process()
RegexCode$process(excerpts = self$excerpts)
excerpts
Options excerpts to code
Code results Add word
add()
RegexCode$add(word)
word
To add to expressions
NULL Remove word
remove()
RegexCode$remove(word)
word
to remove
NULL Concatenate expressions
concat()
RegexCode$concat()
character of concatentated expressions
clone()
The objects of this class are cloneable with this method.
RegexCode$clone(deep = FALSE)
deep
Whether to make a deep clone.