map_filetype_to_pattern: Map the file type to a corresponding regular expression

View source: R/utils-files.R

map_filetype_to_patternR Documentation

Map the file type to a corresponding regular expression

Description

Map the file type to a corresponding regular expression

Usage

map_filetype_to_pattern(filetype)

Arguments

filetype

The file type to map to a regex.

Examples

styler:::map_filetype_to_pattern(c(".rMd", "R"))

krlmlr/styler documentation built on Dec. 12, 2024, 8:36 a.m.