Map the file type to a corresponding regular expression
map_filetype_to_pattern(filetype)
The file type to map to a regex.
# NOT RUN { styler:::map_filetype_to_pattern(c(".rMd", "R")) # }
Run the code above in your browser using DataLab