User-friendly wrappers for named capture regular expressions.
vignette typo fixes.
Suggest re2r, namedCapture.engine()
un-named list interpreted as non-capturing group.
nested capture groups syntax in *_variable using named list.
remove subject arg from df_match_variable in order to support column named "subject"
more informative error messages for str_match*named functions.
Suggest data.table for testing.
*_variable functions accept lists which are parsed recursively.
*_variable functions which use variable number of arguments.
Informative errors when type.list is unusual.
Coveralls badge, 100% test coverage via jimhester/covr.
str_match_named was sometimes incorrectly issuing a warning when given NA subjects, but this is now fixed.
When type.list is supplied, data.frame(stringsAsFactors=FALSE) is now used to create the data.frame from the character match groups matrix. This allows simple numerical conversions using functions like as.numeric and as.integer (before, we got unexpected results since those functions take the factor ID number).
Test optional groups, set NA before calling substring to avoid "NAs introduced by coercion" warning.
stop with informative errors for pathological subjects and patterns.
first version forked from str_match*perl in my .Rprofile. There are several differences: