style 💎: Improve regex pattern for parsing samba provision output

Updated the regex pattern to correctly extract private/krb5.conf paths from the samba provision output, ensuring accurate configuration file detection.
This commit is contained in:
2025-11-06 06:48:46 +01:00
parent b4408b2dfe
commit e0389aae85

View File

@@ -6,7 +6,6 @@
(
samba_provision_output.stdout
| regex_findall('(/[^\\s,"'']*/private/krb5\\.conf)')
| map('regex_replace', "['',\" ,]", '')
| list
| default([])
)