Improve slash input detection
Fix edge cases
Merge pull request #40 from sonelliot/ImproveSlash

Improve slash