Add error handling
Fix match_all
Add preg_split