mirror of https://github.com/ansible/ansible.git
Add word boundary in apache2_module regexp
Add a word boundary \b to the regexp for checking the output of a2{en,dis}mod, to avoid a false positive for a module that ends with the same text as the module we're working on. For example, the previous regexp r'.*spam already enabled' would also match against 'eggs_spam already enabled'. Also, get rid of the redundant '.*' from the end of the regexp.reviewable/pr18780/r1
parent
cb69744bce
commit
6157a6552f
Loading…
Reference in New Issue