Skip to content

Drop unneeded capture groups #1124

@CRS-migration-bot

Description

@CRS-migration-bot

Issue for tracking original pull request created by user fgsch on date 2018-06-11 17:15:49.
Link to original PR: SpiderLabs/owasp-modsecurity-crs#1124.

HEAD is: 5dfb9b5af62eb52f163652996bf814093e9fd39e
BASE is: 5f01890
Follow up of #1111.

This covers all the remaining rules. Minor style changes while here.

For the curious, for this PR I wrote a small program that prints the number of capture groups using PCRE_INFO_CAPTURECOUNT and run it through all the patterns to have a list of rules that needed reviewing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions