#35 Constant values allow two consecutive _

release_2.2
closed
Oliver Burn
5
2012-10-10
2002-04-06
iammichael
No

The default regular expression used to check constants
is "^A-Z?$" This regular
expression allows multiple _ characters to appear
consecutively. For example:

MY__CONSTANT

I don't think that double underscores should be
allowed. A replacement regular expression could be:
^A-Z*$

(btw: this is against release 2.1, but there isn't a
2.1 group).

Discussion

  • Oliver Burn
    Oliver Burn
    2002-04-07

    Logged In: YES
    user_id=218824

    thanks for reporting it. I have fixed the regexp.