You are absoloodle right about that. Although I'm not sure about their
greediness, which might be different.
I prefer the '{0,}' in my rewrite rules because I usually define the
max-length to prevent code injection.

eg.

# to make sure only the first 8 chars get passed on to PHP
RewriteRule ^blog/([^/]{0,8} index.php?a=$1 [NC,QSA,L]

So that's why they ended up in my reply.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to