fun cleanupForLegacyRulesIfNeeded()

in src/main/kotlin/com/intellij/internal/statistic/eventLog/StatisticsEventEscaper.kt [50:62]


    fun cleanupForLegacyRulesIfNeeded(str: String): String? {
        return if (containsSystemSymbols(
                        str,
                        SYMBOLS_TO_REPLACE
                )
        ) {
            replace(
                    str,
                    SYMBOLS_TO_REPLACE,
                    false
            )
        } else null
    }