Hi everyone.
So I'm studying this page: https://xenforo.com/xf2-docs/dev/routing-basics/
And I see that :int<user_id,username> matches against your-name.1
I'm familiar with regex'es and have worked with them in several idioms but I don't recognize what's going on here.
user_id is before username in that <format spec>, whereas in the url the id is after a dot. Also nothing tells the system what username should be, it's definitely not an int.
Where can I find more about this matching format? Or is xenforo preprogrammed to match something-else.2342 for all int type parameters?
Thanks for your help on this.
So I'm studying this page: https://xenforo.com/xf2-docs/dev/routing-basics/
And I see that :int<user_id,username> matches against your-name.1
I'm familiar with regex'es and have worked with them in several idioms but I don't recognize what's going on here.
user_id is before username in that <format spec>, whereas in the url the id is after a dot. Also nothing tells the system what username should be, it's definitely not an int.
Where can I find more about this matching format? Or is xenforo preprogrammed to match something-else.2342 for all int type parameters?
Thanks for your help on this.