You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Good idea!
Just need to define what anything actually means. Your example regex matches only letters, anything probably implies also numbers and other characters.
Maybe anything should map to something like this: [-a-zA-Z0-9@:%_\+.~#?&\/=]*
Currently the library only supports regex to define route patterns:
http.get().to('/some/path/[a-zA-Z]+$').willSucceed();
I think we should support a simpler way to define such routes:
http.get().to('/some/path/{anything}').willSucceed();
Thoughts?
The text was updated successfully, but these errors were encountered: