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]

Reply via email to