(v1.2.0.9020) ab_from_text() improvement

This commit is contained in:
dr. M.S. (Matthijs) Berends committed 2020-07-01 11:23:05 +02:00
1 parent 329a0eb0b6
commit cc6ce0a938
11 files changed
+55 -95

No files matched your search

+1 -1
View File
@@ -94,7 +94,7 @@ ab_from_text <- function(text,
stop_if(length(type) != 1, "`type` must be of length 1")
text <- tolower(as.character(text))
text_split_all <- strsplit(text, "[ ;.,:/\\|-]")
text_split_all <- strsplit(text, "[ ;.,:\\|]")
if (type %like% "(drug|ab|anti)") {