use () to UTF8
correct reglex
correct compire preg_match return value
check count to avoid error by empty array passed