Nov-30-2021, 04:37 PM
The entire regex has to match. Your regex has the string "sbnet=(.*)&gw=(.*)", but that isn't in your request string. Instead the request string has them in the opposite order: "...gw=192.168.1.1&sbnet=255.255.255.0..."
Since the order matters, the regex fails to match.
Since the order matters, the regex fails to match.