java/src/main/java/com/genexus/filters/SecuredRemoteAddressFilter.java
/**
     * Convert a given comma delimited list of regular expressions into an array
     * of compiled {@link Pattern}
     */
Convert a given comma delimited list of regular expressions into an array
of compiled  Pattern
Convert a given comma delimited list of regular expressions into an array of compiled Pattern
protected static Pattern[] commaDelimitedListToPatternArray(String commaDelimitedPatterns) {
        String[] patterns = commaDelimitedListToStringArray(commaDelimitedPatterns);
        List<Pattern> patternsList = new ArrayList<Pattern>();
        for (String pattern : patterns) {
            try {
                patternsList.add(Pattern.compile(pattern));
            } catch (PatternSyntaxException e) {
                throw new IllegalArgumentException("Illegal pattern syntax '" + pattern + "'", e);
            }
        }
        return patternsList.toArray(new Pattern[0]);
    }
protected static Pattern [ ] commaDelimitedListToPatternArray ( String commaDelimitedPatterns ) { String [ ] patterns = commaDelimitedListToStringArray ( commaDelimitedPatterns ) ; List < Pattern > patternsList = new ArrayList < Pattern > ( ) ; for ( String pattern : patterns ) { try { patternsList . add ( Pattern . compile ( pattern ) ) ; } catch ( PatternSyntaxException e ) { throw new IllegalArgumentException ( "Illegal pattern syntax '" + pattern + "'" , e ) ; } } return patternsList . toArray ( new Pattern [ 0 ] ) ; }
Convert a given comma delimited list of regular expressions into an array
 of compiled {@link Pattern}
Convert a given comma delimited list of regular expressions into an array of compiled { @link Pattern }