regex unit test

and some unicode changes