Reply To: Match anything in pattern using regexp

Splash Forums PrettyFaces Users Match anything in pattern using regexp Reply To: Match anything in pattern using regexp

#24609

There are two things you could try:

First try to remove ( and ) from the pattern. I don’t see any reason to add them here. So use something like this:

<pattern value="/[^/]+/#{entityId}"/>

You should also be able to simply use another path parameter instead of you regex. Just name it whatever you want. [^/]+ is the default pattern, so something like this should work:

<pattern value="/#{something}/#{entityId}"/>