Added support for trailing and leading whitespace
Merge pull request #6 from lkcampbell/fix_issue_04

Added support for trailing and leading whitespace