Update apache2_module.py

This commit is contained in:
simonLeary42 2025-03-31 17:12:13 -04:00 committed by GitHub
parent 8bb08854bf
commit a5e0ad537d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -194,8 +194,8 @@ def create_apache_identifier(name):
# re expressions to extract subparts of names
re_workarounds = [
('php', re.compile(r'^(php\d)\.')),
('php8', re.compile(r'^(php)[\d\.]+')),
('php', re.compile(r'^(php\d)\.')),
]
for a2enmod_spelling, module_name in text_workarounds: