Fatal level casting fixed
unknown pattern error test added
don't throw exception on bad regexp
any pattern files support