@0rzech its actually a file glob, not a regex, and I would expect the time is 
more likely spent in compiling the pattern, not matching it, since its normal 
use is against directories full of files not one at a time like this use.  Sure 
its exaggerated to worry about one, ten, 100 but where to stop?  And as I said 
picking favourites is probably not something Geany should do.

Its a glob, not `ends_with`, because some patterns are not actually extensions, 
eg `makefile.*`

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/1720#issuecomment-352293327

Reply via email to