add regex unicode match support

This commit is contained in:
jiangxiaoming 2022-11-22 12:15:44 +08:00
parent a3bb271432
commit 4839a633e3
3 changed files with 175 additions and 3 deletions

View file

@ -492,8 +492,8 @@ function chunked_equal()
function chunked_framing()
{
str=$1
length=${#str}
length=$(echo -n "$str"|wc -c)
printf "\n#%s\n%s\n##\n" ${length} "${str}"
}