MultiplePatternAndLengthRestrictionValid.yang 364 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 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]"; } } }