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.

div class = "post-text" itemprop = "text">
  negative values: 

Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -