Gitiles
Code Review
Sign In
gerrit.onosproject.org
/
onos-yang-tools
/
a599a8f2ca8fa3174db6ebf5f699b18526490e9e
/
.
/
compiler
/
plugin
/
maven
/
src
/
test
/
resources
/
PatternRestrictionInRefTypeAndTypedef.yang
blob: e01b2242b6cce6c4d09a54ef7f2c962d85695c5e [
file
] [
log
] [
blame
]
module
Test
{
yang
-
version
1
;
namespace
http
:
//huawei.com;
prefix
Ant
;
leaf invalid
-
interval
{
type hello
{
pattern
"[a-zA-Z]"
;
}
}
typedef
hello
{
type
string
{
pattern
"[0-9]"
;
}
}
}