Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
wildcard_path_match? question #19
I am trying to filter paths like:
This should normaly work with a regex but the wildcard_path_match? method is relacing the * any particulat reasons for this? Any other way I can achive the above?
This comment has been minimized.
This comment has been minimized.Show comment Hide comment
OK, I see. That feature is intended for use with wildcards, not with regular expressions. This means that "blah.*" resolves to anything starting with "blah.", as opposed to anything starting with "blah". Think of it as bash filename wildcards.
In your example, you sould be using the following line: