NEWS.md
file to track changes to the package.tidyr::extract()
as both functions had similar syntax and functionality and differences might create confusion.unglue_regex()
can translate unglue patterns into proper regex.unglue_vec()
extracts a single value from each string.unglue_detect()
returns a logical indicator, indicating which elements from the input could be matched.unglue()
now only contain values extracted. using the relevant pattern.make.unique()
when duplicate subpattern labels are given, unglue functions now check if identically named subpattern match the same content.multiple
argument, when multiple
is a function instead of the default NULL
, groups labelled by the same name are combined.Bug fixes:
[
and ]
as opening and closing brackets now works as expectedFeatures :
multiple
argument for all relevant functions was fixedna
argument can be used to give a different value than NA
to unmatched substrings in unglue_data()
, unglue_unnest()
and unglue_vec()
unglue_sub()
allows convenient substring substitution