concept url path parameter in category scala

appears as: URL path parameters, URL path parameter
Play for Scala: Covers Play 2

This is an excerpt from Manning's book Play for Scala: Covers Play 2.

The URL pattern may declare URL path parameters. For example, the route definition for a product details URL that includes a unique product identifier, such as /product/5010255079763, is as follows:

4.3.3. Constraining URL path parameters with regular expressions

In your URL design, you may want to support alternative formats for a URL path parameter. For example, suppose that you’d like to be able to address a product using an abbreviated product alias as an alternative to its EAN code: