josh/rack-mount — pull request #39 by pixeltrix (2012-03-12 16:15:57+00:00)
Title: Handle RegExp routing conditions that return nil

Methods on a request may return nil in certain circumstances,
for example the domain method in Rails will return nil when
using an IP address for testing and development.

This commit fixes this issue by checking that the value responds
to match before checking against the RegExp.