control characters in Trino UDF #17676
Replies: 1 comment 2 replies
-
I'd suggest you to check how the literal looks like before writing the regex.
So you cannot use the control character regex to match them since they are not control characters - it's literally a string For example does this have a control character or it's a valid path? |
Beta Was this translation helpful? Give feedback.
-
Trino 407, I am writing UDF function to remove all the control characters from the given string.
`
`
However the control characters are not removed in Trino CLI,
select rmcc('\b\t\f\0'); => btf0
Beta Was this translation helpful? Give feedback.
All reactions