Be careful when commenting out regular expressions. E.g. the following causes a parser error. I do prefer using # as regexp delimiter anyway so it won't hurt me ;-) <?php /* $f->setPattern('/^d.*/'); */ ?>