boolean (@Nullable Object o, ProcessingContext context) { if (o instanceof PyStringLiteralExpression expr) { if (!DocStringUtil.isDocStringExpression(expr) && expr.getTextLength() < STRING_LITERAL_LIMIT) { final String value = expr.getStringValue(); return pattern.matcher(value).find(); } } return false; }