2. It should not be limited to "#!" and full-word matching. I think that
any sequence of characters should be matched anywhere in the first line
(for example, "/perl" => perl), or a regexp (/^#!\s*\S*perl(\s|$)/ -> perl).
Matching shouldn't be too easy as many files include other language
names in header comments.
Examples?
Regular expressions get too complex and the
listed one isn't compatible with SciTE.
I think that simpe string matching is good enough, no need to use RE here.
Piotr
_______________________________________________
Scite-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scite-interest