@Test
    void verifyPatternCollection() {
        val patterns = List.of("^abc", "^\\d{3}\\w+");
        val result = RegexUtils.findFirst(patterns, List.of("hello", "world", "911/", "911Z")).get();
        assertEquals("911Z", result);
    }
Tests for {@link RegexUtils}

@author David Rodriguez
@since 5.1.0
core/cas-server-core-util/src/test/java/org/apereo/cas/util/RegexUtilsTests.java