Update apache2_module.py

This commit is contained in:
simonLeary42 2025-03-31 17:08:04 -04:00 committed by GitHub
parent 593bf7c8fc
commit 287611e7a2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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