Since 1.13.0 the matching with routes that contain numbers would fail with:
** (Plug.Router.InvalidSpecError) invalid dynamic path. Only letters, numbers, and underscore are allowed after : in "foo/:user1"
(plug 1.13.2) lib/plug/router/utils.ex:89: Plug.Router.Utils.build_path_match/2
This PR fixes the problem and adds tests for dynamic paths.
Since 1.13.0 the matching with routes that contain numbers would fail with:
This PR fixes the problem and adds tests for dynamic paths.