I wish to match COMMENT as <!--C--> so:
- It starts with
<!-- - Ends with the first
--> - C - could be anything (including tabs, line breaks, etc.)
I got a problem with ending in the first -->
and thus obviously this solution doesn't work:
COMMENT (\<!--((.|(\n))*)--\>)
Any suggestions?