Case sensitive YANG pattern

Hello,

I have a pattern defined like below,

pattern ‘[0-9a-fA-F]{2}(:[0-9a-fA-F]{2}){5}’; --> which i took from the standard mac address definition.

I want the MAC 34:BA:75:00:00:50 to be treated as same as 34:ba:75:00:00:50. How do we achieve this??

Best regards,
Poornima.M

Hi Poornima,

You use the type “tailf:hex-list” which will allow you to achieve what you want.

Nabil