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

Bitbucket Pull Requests Builder BranchesFilter asterisk issue #242

Open
levihinzgen opened this issue Dec 14, 2023 · 0 comments
Open

Bitbucket Pull Requests Builder BranchesFilter asterisk issue #242

levihinzgen opened this issue Dec 14, 2023 · 0 comments

Comments

@levihinzgen
Copy link

The BranchesFilter checks for asterisk ("*") anywhere in the string using .contains("*"). However the instructions on the field also suggest using regular expressions. Using a regular expression that includes ".*" doesn't work, as it checks for any instance of "*" to mean "any".

Note that I'm not sure what would happen if .contains("*") was replaced with .equals("*"), the regex might not be set up to work with this, but at minimum this would make functionality less confusing. The documented usage of:

any pull requests applied for this project: any, * or empty string

...doesn't really suggest an asterisk anywhere in the string.

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

No branches or pull requests

1 participant