Fixed regex to ensure '/' isn't captured.
Merge pull request #7 from lextoumbourou/master

Fixed regex to ensure '/' isn't captured.