On Sunday, May 14, 2017, Patrick B <
patrickbakerbr@gmail.com> wrote:
Now that you've posted the right link it becomes a bit easier to follow...
Why isn't 7 valid?
Requiring that the last directory be the word master, with or without a forward slash, is simple enough but 7 matches that. Just tack the following onto the end of your existing pattern.
.+master/?$
You'll need to be more verbose and literal if you truly want to exclude 7. Just add more path separators and patterns like [^/]+ until you get what you want.
I'd be more helpful but my iPad and the fiddle don't seem to play nicely together...