Conversation
|
I like the idea - although you should check beforehand to save wasted effort 😉 Can you also:
mux has a lot of features and it helps to document new ones well. |
done👍 |
|
@elithrar , are there any other changes needed? |
|
This issue has been automatically marked as stale because it hasn't seen a recent update. It'll be automatically closed in a few days. |
|
it would be nice to get this in |
|
This issue has been automatically marked as stale because it hasn't seen a recent update. It'll be automatically closed in a few days. |
|
Can anyone take a look? I noticed that the project came to life |
I will be reviewing this PR in sometime. If I missed it due to any reason. Request you to ping me. |
This feature introduces ability to register aliases for some often used regular expressions.
For example path as this:
/{category:[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[8|9|aA|bB][a-fA-F0-9]{3}-[a-fA-F0-9]{12}}/{product:[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[8|9|aA|bB][a-fA-F0-9]{3}-[a-fA-F0-9]{12}}can be transformed into this
/{category:uuid}/{product:uuid}You need just use register it
RegisterPatternonRoutestructRegisterPatternonRouterstruct