Added regex path matching. Closes #4.

Added regex path matching so path's can now be defined as regex patterns
as oppose to just plain string litterals.