Re: how to hide all the suffix of the url

Splash Forums PrettyFaces Users how to hide all the suffix of the url Re: how to hide all the suffix of the url

#21883

qeryui
Participant

thank you.

it works well.

The <pattern value=”/#{ /[^.]*/ bean.url }” /> excludes the string starting with “.”.

Could you tell the difference between <pattern value=”/#{ /.*/ bean.url }” /> and <pattern value=”/#{ /[^.]*/ bean.url }” />, and why <pattern value=”/#{ /.*/ bean.url }” /> would cause error.

And I test <pattern value=”/#{ /[^.]*/ bean.url }” />, without escaping character “”, and it also seems to work.