I don't know if this question is allowed or not. If not, forgive me :)
Anyway, I have a mapping rule for nginx redirection
/hotel/xyz/abc /hotel/xyz/abc-nana;
/hotel/xyz/abc/ /hotel/xyz/abc-nana;
~^/hotel/xyz/abc\?(.*) /hotel/xyz/abc-nana?$1;
My question is, can they be combined into 1 rule? I don't know regex well