<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/96824>96824</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
clang-tidy header filters should allow for case insensitive comparisons
</td>
</tr>
<tr>
<th>Labels</th>
<td>
clang-tidy
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
tiagomacarios
</td>
</tr>
</table>
<pre>
clang-tidy header filters should allow for case insensitive comparisons. This is specially important on large Windows projects where the OS is case insensitive and there is a lot of legacy mixing casing.
More specifically I am referring to `--exclude-header-filter`, `--header-filter`, `ExcludeHeaderFilterRegex`, `HeaderFilterRegex`.
The docs say [`By default, the POSIX extended regular expression (ERE) syntax is assumed.`](https://llvm.org/doxygen/classllvm_1_1Regex.html#a79ae71c4eeaf1d835aa4106155fa2aaeae62480697e924b5793194a07ac798df4:~:text=by%20default%2C%20the%20posix%20extended%20regular%20expression%20(ere)%20syntax%20is%20assumed.). AFAICT ERE does not support modifiers on the regex itself ie `(?i)`.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJysU01v5DYM_TWaCzGGTH-MffBhNsmgORRbZAO0twVt0bYK2RqIcjJz6W8v7JlsULS97cUU_UiJ75EkETvMzI0qvqjicUdLHH1ooqXBT9RRsF52rTfXpnM0D_tozRVGJsMBeusiBwEZ_eIMkHP-HXofoCNhsLPwLDbaN4bOT2cKVvwsCbyOVsAKyJk7S85dwU5nHyLNEfwMjsLA8LudjX8XOAf_J3dR4H3kwBBHhq_f1ux_vUGzWeHAK0rgfATfg-OBuitM9mLnYU2y85Ao_aj08Vcf-FZEb7utjmegCQL3HMIaHT2oUu_3fOncYnh_o72_0ValVvhwC_gf4OmW98uGnjbwhQe-fEb8F3Sv7vZ9HRmM7wSErrC2qNRfrmC4p8XF9ZJVkN--fnv-A_gSeTZsIPCwOArAl3NgEetnUFg9vTwprEGuc6TLJpHIMrFJ1mqKR4XVGONZVHZUeFJ4cu5tSnwYFJ6Mv1wHnhWeOkciK_I9_Z5uBSdjnJzCjA418SHtcmbqU1NlBVGe6jItip6QiIlLzCtd1geuMW-LQ52ldU76QN2hrkyfq-z4l8qOkS9RZY_tVWGB-gfTAh-2H3HkzZ692Mt2-uC9OXfud-CD_-YqrDiwwnrzbjpsRyub-aEH1gkcT8fnh1d4enkC41lg9hFkOa9jCpM3trfr4Pt50z-sQoCNwq4Hy7D1t1LZya6vlTrZmSYzdVbTjpv0kNZ5VmNZ7cYGs0Pbmzavcu4ZMyrqrEXWVaErrfuu3NkGNea6xBJRp7pKyp5NykXaUn9Ak_cq1zyRdclHv3ZWZOGmLivMd45adrLtNuLnAivEdddDsybt22UQlWtnJcrnNdFGxz9r6XdLcM0_52uwcVzapPPTfdjuZn_feIWnjYkoPN3IvDX4dwAAAP__cvqJHw">