Jeremy Quinn wrote:
> Hi All
>
> I am having a strange problem matching URLs with underscores in them.
>
> ie. /press/press_17 (and /easy/press/press_17)
>
> should be matched by:
>
> <map:match pattern="^(easy/)?(\w*)/(\w*)$" type="regexp">
Ain't bugzilla wonderful thing? :-P
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4057
Vadim
> When I test this regular expression on a set of URLs using BBEdit (a
> text editor with regexp) the matches work, when I test this in Cocoon,
> the match does not work.
>
> The sitemap that catches this (or is supposed to ...), is mounted by
> the standard cocoon/sitemap.xmap from the dist. (using '*/**' on
> 'iniva/press/press_17') .
>
> I am really struggling to work out from the logs what is going wrong.
>
> Any ideas anyone?
>
>
> Thanks for any help
>
> regards Jeremy
|