Referring to Spring catch all route for index.html, I am trying out the regex "/**/{spring:\\w+}"
to catch all routes. But I get the error:
Tokenizing Error: java.util.regex.PatternSyntaxException, dangling metacharacter '*' at Index 2
When I fix this by "/\\*\\*/{spring:\\w+}"
, my regex fails to catch routes.
Requesting guidance regarding the same.