**[Lukas Krecan](https://jira.spring.io/secure/ViewProfile.jspa?name=dart0)** opened **[SPR-13705](https://jira.spring.io/browse/SPR-13705?redirect=false)** and commented This test passes in 4.2.2 but fails in 4.2.3. I guess it's due to the slash at the end of template. ``` @Test public void testMatchSlashAtTheEnd() { UriTemplate uriTemplate = new UriTemplate("/test/"); assertTrue(uriTemplate.matches("/test/")); } ``` --- **Affects:** 4.2.3 **Issue Links:** - #18205 UriTemplate should support regex matching with n times {n} pattern **Referenced from:** commits https://github.com/spring-projects/spring-framework/commit/fed4391f8752dcc1bdd738d8580b65af81c05146