Why does this fail?
This function will fail, but why?
extract(
data_frame,
col = column_1,
into = c("title", "admissions"),
regex = "(.*), (\\w+), (\\d+)"
)
This exercise is part of the course
Intermediate Regular Expressions in R
Hands-on interactive exercise
Turn theory into action with one of our interactive exercises
