-
-
Notifications
You must be signed in to change notification settings - Fork 421
Wildcard with exceptions #99
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
Comments
No, this isn't possible. Try using a RegExp instead. |
Unfortunately it's not up to me as i'm using this through vue-router :( |
This library accepts regular expressions, if they are just passed through it should be fine. |
@blakeembrey You can safely close this 🙂 |
Thank you for clarifying :) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey! I'd love a way to use negative lookahead regexes in my paths, for example *(?!foo) to match everything but 'foo'.
However, this does not work. Output:
'Uncaught SyntaxError: Invalid regular expression: /^/:((?:?!foo))(?:/(?=$))?$/: Nothing to repeat'
Maybe there's already a way to do this that I don't know of?
The text was updated successfully, but these errors were encountered: