I am working on a major mode for an input file format I am interested in and want to set multi-line comments with the delimiters skip and noskip like
skip larb noskip
or
skip
GRID
TYPE structured
NXYZ 284 307 1
END
noskip
Using the re-builder, I came upon the following regex that highlights both single and multi-line comments
"skip\\(.\\|\n\\)*?noskip"
But this doesn't work to pass to the font-lock-comment-face. Only the single-line version gets its font-locked.
Is there a mode with word-delimited multi-line comments like I want, that I can borrow the right syntax from?