(v1.2.0.9014) ab_from_text()

This commit is contained in:
dr. M.S. (Matthijs) Berends committed 2020-06-25 17:34:50 +02:00
1 parent 8a66e475d7
commit 344bbd57f4
32 files changed
+749 -191

No files matched your search

+1 -1
View File
@@ -64,7 +64,7 @@
#' }
like <- function(x, pattern, ignore.case = TRUE) {
# set to fixed if no regex found
fixed <- all(!grepl("[$.^*?+}{|)(]", pattern))
fixed <- all(!grepl("[\\[$.^*?+-}{|)(]", pattern))
if (ignore.case == TRUE) {
# set here, otherwise if fixed = TRUE, this warning will be thrown: argument 'ignore.case = TRUE' will be ignored
x <- tolower(x)