How to write a Yang pattern statement correctly using the following regex:

pattern “[’(’| ‘)’|’<’|’>’|’@’|’,’|’;’|’:’|’/’|’=’|’{’|’}’|’?’|’[’|’]'SP|HT]”
SP and HT is not working others are working fine.

See this post Yang regex spaces on that topic.