Fix for issue 6
Forbid empty pattern strings...