[Catalyst-dev] [Catalyst] Major (for me) problem fixed!
Brian Cassidy
brian.cassidy at nald.ca
Mon Jul 31 20:57:19 CEST 2006
Jonathan Rockway wrote:
>> REGEXP: '[/:]\w[.]pm$'
>>
> Typo. You want \w+, not \w. Also, that way of overriding appears to be
> broken -- if I do REGEXP: .*, nothing loads. .* should match anything,
> right? (I also tried variations on the quoting '.*' ".*" '.' ".", etc.
> and didn't get that to work.)
>
My bad on the typo.
Right, file_regex is a bit wonky in that it's also passed to
File::Basename::fileparse() to pick off valid extensions. see line 148
of Module::Pluggable::Object.
So, i have to correct myself, your regex /does/ work in this case, but,
again, it's a fragile spot.
-Brian
More information about the Catalyst-dev
mailing list