Sorry, let me explain again. I have the following match: <map:match pattern="main-((\/\w+)+)-(\w+)-(\d)-(\d)" type="regexp">
when this match succeeds, some html document is returned witch includes a scrip: src="HM_Arrays-/mart/clientes-30409142-day-asc.js" When the browser is rendering the page, requests: HM_Arrays-/mart/clientes-30409142-day-asc.js, but on cocoon log files I found that, this request is resolved to: core.log [core.store](/cocoon/cava/main-/mart/HM_Arrays-/mart/clientes-30409142-day-asc.js) weird!! BUT, the match that succeeds with this request is: <map:match pattern="HM_Arrays-((\/\w+)+)-(\d+)-(\w+)-(\w+)" type="regexp"> This is what I want, but not what I expected after looking cocoon log files. Does someone could explain what's wrong here? Thanks to all. Rui Ps -> Sorry for the previous confusing post. On Thu, 2004-07-22 at 11:03, Rui Alberto L. GonÃalves wrote: > Hi all, > > I'm trying to use regexp matcher, but I'm missing something. > > I have the following matcher: (*1) > <map:match pattern="main-((\/\w+)+)-(\w+)-(\d)-(\d)" type="regexp"> > > I'm expecting this pipeline to match things like: > > main-/mart-duracao-1-1 > or > main-/mart/clientes-chamadas-1-1 > etc.. > > the html document returned when matching this regexp contains > > <script src="HM_Arrays-/mart/clientes-30409142-day-asc.js" ... > > I'm expecting this to match in the regexp: (*2) > <map:match pattern="HM_Arrays-((\/\w+)+)-(\d+)-(\w+)-(\w+).js" > type="regexp"> > > but the request "M_Arrays-/mart/clientes-30409142-day-asc.js" matches > the first regexp (*1)!!! > > What's wrong with this regular expressions? > > Any idea? Thanks for your help! > > Rui -- Rui Alberto L. GonÃalves <[EMAIL PROTECTED]> PT InovaÃÃo --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
