From: Simon Ruderich Date: Mon, 26 Mar 2012 00:19:34 +0000 (+0200) Subject: Use hashes instead of regexps to check file extensions. X-Git-Tag: 0.01~64 X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=5f36c99fe17184b3b10edf4d89b8d8f82cedd175;hp=5f36c99fe17184b3b10edf4d89b8d8f82cedd175;p=blhc%2Fblhc.git Use hashes instead of regexps to check file extensions. Hashes are much faster. Additionally this fixes detecting ".c++" files and false positives caused by files with double extensions (e.g. ".cpp.o") which were not correctly ignored. ---