Procházet zdrojové kódy

Fix regex for base16 name extraction

base16
Garrick Aden-Buie před 7 roky
rodič
revize
bac2fe7c30
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. +1
    -1
      R/make_functions.R

+ 1
- 1
R/make_functions.R Zobrazit soubor

@@ -72,7 +72,7 @@ base16_get_theme_info <- function(palette_file) {
info$isDark <- TRUE
info$rstudio_style <- "/* rs-theme-is-dark: TRUE */"
}
rgx_name <- "/\\*\\s*([[:alpha:][:punct:] ]+) by"
rgx_name <- "/\\*\\s*([[:alpha:][:digit:][:punct:] ]+) by"
info$name <- stringr::str_match(info$attribution, rgx_name)[1, 2]
info
}

Načítá se…
Zrušit
Uložit