Support Regexp anchors \A and \z