The existing CamelCase matching rules have many problems. Make them better.

Simply a list of page names, which match the spirit of CamelCase, but sadly do not meet the letter of MoinMoin law.

Oddly, I've run into the problem where certain hexadecimal numbers are interpreted as a page name. I don't think this is logical, and probably results from treating numbers the same as lowercase letters.

Solution

The current rule seems to be something like [A-Z][a-z0-9]([A-Z][a-z0-9])+ (I'm not the best at regular expressions, but what I'm trying to say is "two or more sets of: a single upper-case letter followed by any number of lower-case letters and digits".)

I would propose that the rules be relaxed to be more like:

I think that is equivalent to the RE [A-Z][0-9A-Z]*[a-z]+[0-9a-z]*[A-Z][a-zA-Z0-9]* (?)

See also


CategoryFeatureRequest

MoinMoin: FeatureRequests/BetterCamelCaseRules (last edited 2007-10-29 19:13:49 by localhost)