Regex in SPAN_REGEXP/END
Submitted by Monday, 29 December, 2008 - 23:14
on
Hey guys,
I'm writing a small IDE (http://blitz-coder.de/data/find1.png) for a basic-like language (BlitzMax) using the latest jedit textarea (pre16 I think). Multiline-comments are set using "Rem" and "EndRem" (case-insensetive). Now the end of a multiline comment can be "EndRem" or "End Rem". I'm using a SPAN_REGEXP-Tag in the mode file, but since I can just use regex in and not in . So I don't know how to highlight these comments.
At the moment my definition looks like this:
^\W*Rem\W*$
EndRem
Perfect would be a definition like this:
^\W*Rem\W*$
^\W*End\s*Rem\W*$
Do you have any ideas how to highlight these comments? Do you have any reason for disallow regex in ? If not, I could write a patch to make this possible.
Thanks for your answers..
Johannes Wotzka