question: protected static boolean regexListMatch ( List < String > regexList , String input ) { for ( String regex : regexList ) { if ( Pattern . matches ( regex , input ) ) { return true ; } } return false ; }
target:  Check if any regex string in a list matches a given input value