Fixed RegEx (a-zA-z) -> (a-zA-Z)

This commit is contained in:
Lucky 2023-08-30 14:19:09 -03:00 committed by GitHub
parent f91fef57eb
commit f791a60676
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -105,7 +105,7 @@ threads_col_all <-data.frame(txt = c(t(threads_col)), stringsAsFactors=FALSE)
# Also filters everything except: example -> "id_A1b2c45d"
tidy_pol_IDs <- threads_col_all %>%
unnest_tokens(word, txt, format = "text") %>%
filter(str_detect(word, "(id_[a-zA-z0-9]{8})"))
filter(str_detect(word, "(id_[a-zA-Z0-9]{8})"))
# === Import CSV as tidy_pol_IDs ===