Highlighting numbers - problems with names using underscore + digits
Submitted by Wednesday, 15 December, 2004 - 11:35
on
Hello,
I use the HIGHLIGHT_DIGITS="TRUE" attribute and have the following problem:
When using variable names which contains underscore + digits the
digits are highlighted.
For example:
variable_2 = 4;
Here the 2 and the 4 are highlighted.
Does anybody has an idea how to prevent the number after an underscore to be highlighted.
I already tried to fix the problem with the : DIGIT_RE= and the NO_WORD_SEP rules
unfortunately without the desired result.
Thanks a lot in advance
goebbe
I use the HIGHLIGHT_DIGITS="TRUE" attribute and have the following problem:
When using variable names which contains underscore + digits the
digits are highlighted.
For example:
variable_2 = 4;
Here the 2 and the 4 are highlighted.
Does anybody has an idea how to prevent the number after an underscore to be highlighted.
I already tried to fix the problem with the : DIGIT_RE= and the NO_WORD_SEP rules
unfortunately without the desired result.
Thanks a lot in advance
goebbe