>> Do you mind explaining a little more why regexps can't be used? > > Third reason is that RegExps are hard to figure out what is wired > or not. By > having more static declarations makes it easier for tools visualize > the > wiring. Humans also has problems to fully understand how RegExps > really > evaluate (when beyond the most basic constructs).
Ok, sounds reasonable. So you want to have hard-coded, pre- compilation values, is that it? Then an array as you suggested would work. Or, if you want to be even more explicit, you could maybe use a hashmap so that the user can also add a small description or something. I guess a full-blown class would be overkill in this case. Anyway, just adding my 2 RMB, which ain't worth much tese days. ;-) _______________________________________________ general mailing list [email protected] http://lists.ops4j.org/mailman/listinfo/general
