blob: 7ba3ef975174e3580bf8a39c2c0c6762720721c4 [file] [log] [blame]
module Test {
yang-version 1;
namespace http://huawei.com;
prefix Ant;
leaf invalid-interval {
type hello {
pattern "[a-z]";
pattern "[A-Z]";
length "min..20 | 100..max";
}
}
typedef hello {
type string {
pattern "[0-9]";
pattern "[\n]";
length "0..100 | 101..200 | 201..300";
}
}
}