[Catalyst-dev] [Catalyst] Major (for me) problem fixed!

Jonathan Rockway jon at jrock.us
Mon Jul 31 20:41:01 CEST 2006


> No, this doesn't really work. The file_regex option is used in many 
> spots, including the one you've specified. So, i tried it out as part of 
> my YAML config:
>
> setup_components:
>   file_regex: !!perl/regexp:
>     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.)

Regards,
Jonathan Rockway



More information about the Catalyst-dev mailing list