Regex improvement

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