Added unicode support for regex