Source code fixed (by wrapping the filter expression in a
TopLevelExpression).
A more efficient long-term fix would be to make Pattern a
subclass of Expression, returning a boolean value for the
evaluateItem() method, instead of the current matches() method.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=251681
Source code fixed (by wrapping the filter expression in a
TopLevelExpression).
A more efficient long-term fix would be to make Pattern a
subclass of Expression, returning a boolean value for the
evaluateItem() method, instead of the current matches() method.