Regex improvement

 - old regex replaces on POSIX bracket classes for support unicode characters
 - add tests for unicode case
 - remove unnecessary space symbols
 - set utf8 encoding for spec