I am using "stable/boron". When I compile yang files to java, I think yangtools mistakenly interprets the regular expressions.
For example,
typedef yang-fd-id {
type string {
pattern "[0-9a-f]
}
}
The XSD regular expressions "[0-9a-f]{8}
/[a-z]/[0-9]|top[a-z]*fd" has two branches, but after converted to Java code, the Java regular expressions is "^[0-9a-f]
{8}/[a-z]/[0-9]|top[a-z]*fd$".I think it should be "^[0-9a-f]{8}
/[a-z]/[0-9]$|^top[a-z]*fd$".