styler (version 1.1.0)

map_filetype_to_pattern: 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

Run this code
# NOT RUN {
styler:::map_filetype_to_pattern(c(".rMd", "R"))
# }

Run the code above in your browser using DataLab