The recent Spring Framework 5.3 M1 release announcement mentions “Spring MVC comes with
PathPattern parsing for efficient URL matching”. This post expands on that with more context and detail.
In Spring applications
AntPathMatcher is used to identify classpath, file system, remote, and other resources in Spring configuration. It has also been used in Spring MVC to match URL paths. Over time the use of patterns in web applications grew in number and syntax with
AntPathMatcher evolving to meet those needs but some pain points remain without a solution: