add regex unicode match support
This commit is contained in:
parent
a3bb271432
commit
4839a633e3
3 changed files with 175 additions and 3 deletions
|
|
@ -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}"
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue