ソースを参照

Fix regex for base16 name extraction

base16
コミット
bac2fe7c30
1個のファイルの変更1行の追加1行の削除
  1. +1
    -1
      R/make_functions.R

+ 1
- 1
R/make_functions.R ファイルの表示

@@ -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
}

読み込み中…
キャンセル
保存