determine_if_regex: always set pattern for router_print_config