slug parser
fix pattern compiler
fix slug compile pattern
Merge branch 'master' into slugfix

Conflicts:
	tests/check_slug.c
update