GVC - 2008-01-17

Hi,

Is it possible to use reg ex when defining a language?

I'm currently facing the problem that /* */ is handled correctly as a comment, but /***/ isn't.

I define the beginning of a comment block (comment open) as /* and the end of a comment block (comment close) as */ (no spaces in front or after the chars).

That gives the above mentioned problem: when having /***/ (that is, the beginning and ending * characters are not separated with a space, so also /**********/), the parsing is not done correctly.

This could be solved by defining the following comment open expression:  /*\.*

But then I need to have the possibility to use reg ex in the user defined language box.

Best rgds,

--Geert