[Github-comments] [geany/geany] New filetype extensions (#1720)

elextr notifications at xxxxx
Sun Dec 17 23:05:14 UTC 2017


@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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20171217/e34b5c29/attachment.html>


More information about the Github-comments mailing list