Code Review
/
yangtools.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
02752a0a221c542a04d9dd945d7c71124e8c44f8
[yangtools.git]
/
yang
/
yang-parser-impl
/
src
/
test
/
resources
/
rfc7950
/
bug6870
/
foo.yang
1
module foo {
2
namespace "foo";
3
prefix foo;
4
yang-version 1.1;
5
6
container root {
7
leaf my-leaf {
8
type string {
9
pattern '[xX][mM][lL].*' {
10
modifier invert-match;
11
}
12
}
13
}
14
leaf my-leaf-2 {
15
type string {
16
pattern '[xX][mM][lL].*' {
17
description "no modifier";
18
}
19
}
20
}
21
}
22
}