Skip to content

match full filenames in addition to extensions

Administrator requested to merge cc/lang-regexp-filenames into main

Created by: camdencheek

Previously, we would only match file extensions for a lang: filter. However, some file types are only recognizable by their full name, such as Dockerfile (few people the .Dockerfile extension). This adds well-known file names to the list of regex patterns to search for.

Fixes #24890 (closed)

Before: Screen Shot 2021-09-23 at 17 04 32 After: Screen Shot 2021-09-23 at 17 03 58

Merge request reports

Loading