I'm trying to write an extension that only runs on *://github.com/notifications or *://github.*.com/notifications (to cover Github Enterprise URLs). Unfortunately the second match pattern is one of the invalid match patterns in the firefox docs and the google docs, see picture:
This presumably means I'd have to use *://*/notifications instead, and then filter it in the app, which seems like a pain, as it means I have to use a wider scope than I'd need to.
So my question is, is there an easy way to match these urls that I'm missing? Is there a reason that this match is disallowed?
App is here in case that helps.

"*://*/*", which matches any domain. – gib Sep 25 '17 at 16:50