cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1381
Views
0
Helpful
4
Replies

URL Matching Characters

drussell
Level 1
Level 1

I need a url match in a CSS (v7.20) content rule to distinguish between these two urls:

/sieb_poc/finsobjmgr_enu/!1.b78

/sieb_poc/finsobjmgr_enu/!2.b78

The command url "/*!1." is not valid.

It appears that a letter has to follow the *

Is there another way to make this work

4 Replies 4

seilsz
Level 4
Level 4

Have you tried removing the wildcard (*) after the slash (/)? Something like:

url "/!1."

~Zach

I think that it would pass the syntax checker but is there an implicit start of URL so it would only match a URL that begins with /!1 ?

Is there a doc that covers how the string is parsed and compared to the incoming URL?

you should do this

url "/sieb_poc/finsobjmgr_enu/!1*"

the css only accept the '*' once.

Gilles.

Thanks. I'll check to see if there are any other variations in the string prior to the !1

The current cmd reference guide does not adequately document the command. For instance it does not say that a number cannot follow the *.

What are the complete rules for the pattern matching?