account for possible spaces in securty type
Merge pull request #1 from wraithan/fix_regex

Account for spaces in security type