-
Notifications
You must be signed in to change notification settings - Fork 37
Open
Description
Description
When using the extra_protected_branch_regex it currently only supports the extended regular expressions (EREs).
New Feature: I would like an extra option to be introduced, allowing the user to decide which grep pattern to use.
Potential Configuration
with:
....
extra_protected_branch_regex: ^(foo|bar)$
regex_pattern_syntax: PCREs
...
The regex_pattern_syntax would be set with one of the following values: {BREs, EREs, PCREs}; defaulting to EREs.
References
I'd really like the feature to be added and am happy to submit the PR for this piece of work. Please let me know your thoughts on the above.
Thanks!
Metadata
Metadata
Assignees
Labels
No labels