Allow wildcards in the last path segment to end with an extension
Update documentation to reflect allowing extensions
Refactor to improve readability
Further refactor, and switch to using LastIndex for best compatibility
Merge pull request #4 from pushrax/master

Allow single element wildcards in the last path segment to end with an extension