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

See this post Yang regex spaces on that topic.