this one should work. the last line allows to escape * inside comments with a backslash, remove it if that's not the case ;) { name = 'element.comment.first'; begin = '\*'; end = '\*'; patterns = ({ match = '\\\*'; }); } ciao, domenico