evaluate method
Evaluates this filter against the given properties and optional
feature geometry.
Implementation
@override
bool evaluate(Map<String, dynamic> properties, {GmlGeometry? geometry}) {
final v = expression.evaluate(properties);
if (v is! String) return false;
final regex = _toRegex(pattern, wildCard, singleChar, escapeChar);
return regex.hasMatch(v);
}