yang-identifier

Pattern: 
'[a-zA-Z_][a-zA-Z0-9\-_.]*' 
Pattern: 
'.|..|[^xX].*|.[^mM].*|..[^lL].*' 

A YANG identifier string as defined by the 'identifier' rule in Section 12 of RFC 6020. An identifier must start with an alphabetic character or an underscore followed by an arbitrary sequence of alphabetic or numeric characters, underscores, hyphens, or dots. A YANG identifier MUST NOT start with any possible combination of the lowercase or uppercase character sequence 'xml'.

Reference:

  • RFC 6020: YANG - A Data Modeling Language for the Network Configuration Protocol (NETCONF)