fix signature regexes to parse -- correctly

closes #2 (pull request)