I think this will allow you to have multiple, optional wildcards on a page's URLs.
Enter multiple wildcard URLs for a given page:
* /my/path/{name}
* /my/path/{name}/{company}
* /my/pathnoname/{company}
This should give you a way to get:
* just Name,
* both Name and Company, or
* just Company