Skip to content
This repository was archived by the owner on Nov 3, 2019. It is now read-only.

Allow regex filter#5

Open
brettjurgens wants to merge 5 commits intounindented:masterfrom
brettjurgens:allow_regex_filter
Open

Allow regex filter#5
brettjurgens wants to merge 5 commits intounindented:masterfrom
brettjurgens:allow_regex_filter

Conversation

@brettjurgens
Copy link
Copy Markdown

This PR allows the 'filter' parameter to be a regular expression

@unindented
Copy link
Copy Markdown
Owner

Can you give an example where a glob expression is not enough?

@brettjurgens
Copy link
Copy Markdown
Author

@unindented as far as I can tell, globs will not let you do something like /^(?!.*spinner|somethingElse)/. that is, ignoring spinner or somethingElse, while retaining everything else.

The issue I encountered that caused me to open this PR was that we have a spinner component that would not always be screenshotted in the correct position. Ignoring the image was the best solution

@unindented unindented force-pushed the master branch 2 times, most recently from 8c80c44 to 4977af8 Compare June 10, 2018 17:01
@md-azam12
Copy link
Copy Markdown

This does not work for me.

@unindented
Copy link
Copy Markdown
Owner

@khalidazam what doesn't work? The PR?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants