I already sent this message to the users list, but there seem to be some problems with that list (emails not arriving). I already doubted if this question belonged to the the users list or the developers list so I'll just post it here again.
Basically I'm having some problems using the list taglib on MMBase. I'm trying to get groups.name's that start with either 'A' or 'a'. To accomplish this I want to use the following constraint. constraints="groups.name MATCHES '[Aa]*'" However, when I look in my log file and see how MMBase writes my query the constraint gets rewritten and looks as follows: groups.name MATCHES 'Aa*' It seems somewhere in MMBase the square brackets get stripped from the constraint. Which results in the database trying to match exactly 'Aa' as the first characters instead of using Aa in the form of a character class. Why does MMBase strip the square brackets? And if it does strip them for a reason does anyone have a suggestion on how to elegantly fix this? Wim _______________________________________________ Developers mailing list [email protected] http://lists.mmbase.org/mailman/listinfo/developers
