Welcome! Log In Create A New Profile


location regex

November 01, 2016 09:44AM

I would like to ask about regex. Why these 2 doesn't behave the same?

location ~ /(apple/|pear/(small|big)/|test(ing|er)/(fruit|vegis)_)*

location ~ /apple/*|/pear/(small|big)/*|/test(ing|er)/(fruit|vegis)_*

could you point me to good practice?

Subject Author Posted

location regex

olat November 01, 2016 09:44AM

Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 101
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready