Ivan Shumkov <[EMAIL PROTECTED]> napisał(a): >> What do you mean exactly? What's your idea of regex without >> requirements? To allow zero length string? > if requirements not present, use !empty($uriPart), if present - use > regexp.
It's not that easy to implement but it's worth thinking about. And I would also add static path matching thru plain string comparison while we're at it. Would you care to create an issue for this? BTW: $i = '0'; empty($i) == true -- Martel Valgoerad aka Michal Minicki | [EMAIL PROTECTED] | http://aie.pl/martel.asc =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= "Idleness is not doing nothing. Idleness is being free to do anything." -- Floyd Dell
