also match Include

This commit is contained in:
Tobias Klaus 2025-04-11 23:55:59 +02:00
parent 3b80773282
commit 927114d20b

View file

@ -7,7 +7,7 @@ from pathlib import Path
INTERNAL_IP = "[::1]"
INTERNAL_PORT = "8080"
INCLUDE_MATCH = re.compile(r"\s*include\s+(.*)\s*")
INCLUDE_MATCH = re.compile(r"\s*[iI]nclude\s+(.*)\s*")
SERVERNAME_MATCH = re.compile(r"\s*ServerName\s+(.*)\s*")
SERVERALIAS_MATCH = re.compile(r"\s*ServerAlias\s+(.*)\s*")
SERVERADMIN_MATCH = re.compile(r"\s*ServerAdmin\s+(.*)\s*")