I started to learn sapui5 one month ago and am now developing a simple web application. when dealing with routing, I noticed that some are using Router.getRoute("patternname").attachMatched(this._onRouteMatched, this) and others are using Router.getRoute("patternname").attachPatternMatched(this._routePatternMatched, this). Therefore, is there any difference between attachMatched & attachPatternMatched method? Moreover, though I checked the API, I can't see any explicit difference between them.
Do you have any idea? Thank you in advance.