php - How to detect negative number in Zend Framework Router Regex -
I have the following .i configuration which is fine for positive integers, but not negative integers.
routes. type. Type = "Z_translator_Roter_Root_RegX" routes NR Route = "News / (\ D +) / D" routes. Endfalt CRTRLR = "News" routes NFFX = "display" route .d.map.id = 1 How can this detect negative integer? Obviously \ d + ignores the negative number.
It can not be found in the ZF docs.
negative values:
Comments
Post a Comment