spring-framework / org.springframework.expression.spel.ast / OperatorMatches / getValueInternal

getValueInternal

open fun getValueInternal(state: ExpressionState): BooleanTypedValue

Check the first operand matches the regex specified as the second operand.

Parameters

state - the expression state

Exceptions

EvaluationException - if there is a problem evaluating the expression (e.g. the regex is invalid)

Return
true if the first operand matches the regex specified as the second operand, otherwise false