in src/main/kotlin/com/intellij/internal/statistic/eventLog/validator/storage/GlobalRulesHolder.kt [27:37]
fun getRegexpValidationRules(regexpRef: String): RegexpValidationRule? {
val cachedValue = myGlobalRegexpsCache[regexpRef]
if (cachedValue != null) return cachedValue
val globalRegexp = myGlobalRegexps?.get(regexpRef)
if (globalRegexp != null) {
val rule = RegexpValidationRule(globalRegexp)
myGlobalRegexpsCache[regexpRef] = rule
return rule
}
return null
}