search for: woodhunterotooleetal2012

Displaying 1 result from an estimated 1 matches for "woodhunterotooleetal2012".

2017 Jun 19
0
\U or \L perl regex in gsub removes text outside capturing group in UTF-8 contexts
...s/testthat/lint_bib_in.bib", encoding = "UTF-8", n = 10) bib8910 <- bib[8:10] gsub("(\\w+)", "\\U\\1", bib8910, perl = TRUE) #> [1] "@TECHREPORT" " AUTHOR" " TITLE" Expected result (in R 3.4.0): #> [1] "@TECHREPORT{WOODHUNTEROTOOLEETAL2012," #> [2] " AUTHOR = {TONY WOOD AND AM?LIE HUNTER AND MICHAEL O'TOOLE AND PRASANA VENKATARAMAN AND LUCY CARTER}," #> [3] " TITLE = {PUTTING THE CUSTOMER BACK IN FRONT: HOW TO MAKE ELECTRICITY CHEAPER}," ## Likely point of breaking change I was alerted on June 13...