py-suricataparser
py-suricataparser copied to clipboard
Update parse.py
Switched the group order for rule_pattern, so that the group "raw" is processed with the preceeding #. In the previous order, a disabled rule would not be commented out in the "raw" rule string, and would have to be added manually.
@wbbigdave, thank you for contribution. Pull master branch in your fork, that CI jobs can be run in PR. And your change fail some tests.