hishamhm/codegrep — pull request #3 by mwh (2014-02-27 08:21:03+00:00)
Title: Support JavaScript and HTML files

This adds support for *.js, *.html, and *.htm.

JavaScript has the same comment and string syntax as C++, and so isn't terribly interesting here.

HTML support is more interesting and I'm not so sure about the approach I took. It has two components: ordinary comments, and embedded languages. It understands both