Slugable behavior - support for regexp on different platforms

Fixes #719