
User16166165013791431969 (Customer) asked a question.
How does the `matches` operator work?
The following document says we can use, "The `matches` operator to evaluate a String against a regular expression". This is exactly what I need, to compare a string against a regex. But what the heck is a "matches operator" ? I tried several things, without success.
user.department matches "Engineering"
user.department matches "/Engineering/"
user.department=~"Engineering"
https://developer.okta.com/docs/reference/okta-expression-language/*conditional-expressions
Thanks,
Jeffrey

I figured it out. This website was helpful.
https://www.baeldung.com/spring-expression-language
Example,
user.department matches "Engineering|Customer Support|Product"