Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplify regex to handle comments properly. #317

Open
wants to merge 2 commits into
base: devel
Choose a base branch
from

Conversation

dglinder
Copy link

@dglinder dglinder commented Dec 12, 2024

This closes the issue in #316.

Update regex for RHEL-08-010830 so the basic comment line will not affect the final result.

Overall Review of Changes:
Simplify regex to handle uncommented lines.

Issue Fixes:
#316

Enhancements:
n/a

How has this been tested?:
Only tested using https://regex101.com/r/RzjZQY/1 website, no actual Ansible code validated yet.

This closes the issue in ansible-lockdown#316.

Update regex for RHEL-08-010830 so the basic comment line will not affect the final result.

Signed-off-by: Daniel Linder <[email protected]>
@dglinder dglinder marked this pull request as ready for review December 12, 2024 04:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant