Yang model pattern to exclude user input of \t \r

Hi,

How can i write the yang model pattern so that I can exclude any “” in my input string

typedef file-path {
type string {
pattern “[a-zA-Z0-9/._-]*”;
}
description
“The complete file path”;
}

I have tried the above, but I can still enter \r or \t where my type is file-path