6.1 Routes and Regular Expressions
In a previous lesson, I noted that the syntax for specifying wild cards has changed from version three to four. Let’s continue on with our review of routing in this section, and dig a bit more deeply. What if we need a way to designate that a route should only trigger, if the parameter matches a string or integer? How might we do that?