We know that either freemarkerDebugPort will be null or it will be an integer.  There is no need to check for \\d+