who can post some java path expression examples?

Not applicable

Anyone who can post some java path expression examples?

I want to control the path mapping more precisely.

Thanks in advanced.

0 3 194
3 REPLIES 3

Please can you give a specific example of what you are trying to achieve?

akoo
Participant V

@bing wang do you mean regex path matching as per java.util.regex?

akoo
Participant V

Assuming you mean regex path matching as per java.util.regex, here are some examples:

<Condition>(proxy.pathsuffix JavaRegex "/cat")</Condition>
<Condition>(proxy.pathsuffix JavaRegex "/c*t")</Condition>
<Condition>(proxy.pathsuffix JavaRegex "/ca?t")</Condition>
<Condition>(proxy.pathsuffix JavaRegex "/[cbr]at)</Condition>