public function toSql($fieldName) { $dialect = DialectFactory::create(); $regexpMatcher = $dialect->regexpMatcher(); return $fieldName . ' ' . $regexpMatcher . ' ?'; }